diff options
author | 2014-12-15 12:56:59 +1100 | |
---|---|---|
committer | 2015-02-06 09:32:56 +1100 | |
commit | 758bfc8abfbc26c196a53c52d52d251f20226a5c (patch) | |
tree | a7642d30147db5f67f299b165b8941d619d658ba /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | md: remove mddev_lock() from md_attr_show() (diff) | |
download | wireguard-linux-758bfc8abfbc26c196a53c52d52d251f20226a5c.tar.xz wireguard-linux-758bfc8abfbc26c196a53c52d52d251f20226a5c.zip |
md: remove mddev_lock from rdev_attr_show()
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions