commit | 6022e75bf0686799a6ecca3c33a669e6c70e9d26 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Thu Aug 13 12:32:55 2015 +1000 |
committer | NeilBrown <neilb@suse.com> | Mon Aug 31 19:42:59 2015 +0200 |
tree | ce4378e5017f76d1f8b48640eb13971001461923 | |
parent | abb9b22ac948000ae156cd2d115c8632ec30a2ce [diff] |
md: extend spinlock protection in register_md_cluster_operations This code looks racy. The only possible race is if two modules try to register at the same time and that won't happen. But make the code look safe anyway. Signed-off-by: NeilBrown <neilb@suse.com>