Skip to content
Commit 5a6c824e authored by NeilBrown's avatar NeilBrown
Browse files

md/bitmap: remove some pointless locking.



There is nothing gained by holding a lock while we check if a pointer
is NULL or not.  If there could be a race, then it could become NULL
immediately after the unlock - but there is no race here.

So just remove the locking.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 278c1ca2
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