From: NeilBrown Date: Thu, 13 Aug 2015 02:32:55 +0000 (+1000) Subject: md: extend spinlock protection in register_md_cluster_operations X-Git-Tag: omap-for-v4.3/fixes-rc1~84^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6022e75bf0686799a6ecca3c33a669e6c70e9d26;p=pandora-kernel.git 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 --- Reading git-diff-tree failed