mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
abb9b22ac9
commit
6022e75bf0
1 changed files with 10 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue