Skip to content
Commit 6022e75b authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.com>
parent abb9b22a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment