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:
b7b17c9
)
md: remove mddev_lock from rdev_attr_show()
author
NeilBrown
<neilb@suse.de>
Mon, 15 Dec 2014 01:56:59 +0000
(12:56 +1100)
committer
NeilBrown
<neilb@suse.de>
Thu, 5 Feb 2015 22:32:56 +0000
(09:32 +1100)
No rdev attributes need locking for 'show', though
state_show() might benefit from ensuring it sees a
consistent set of flags.
None even use rdev->mddev, so testing for it isn't really
needed and it certainly doesn't need to be held constant.
So improve state_show() and remove the locking.
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge