git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278c1ca
)
md/bitmap: remove some pointless locking.
author
NeilBrown
<neilb@suse.de>
Mon, 19 Mar 2012 01:46:40 +0000
(12:46 +1100)
committer
NeilBrown
<neilb@suse.de>
Mon, 19 Mar 2012 01:46:40 +0000
(12:46 +1100)
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: NeilBrown <neilb@suse.de>
No differences found