diff options
author | NeilBrown <neilb@suse.de> | 2011-01-14 09:14:33 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-01-14 09:14:33 +1100 |
commit | defad61a5b16352d3e22a04d4c930a5b5a7fd1f0 (patch) | |
tree | c353bd036c12011d0eee7f7924c230888fd34b0a /drivers/auxdisplay | |
parent | 43c73ca43b3e03bb228ff9350b6b44d0e560f262 (diff) | |
download | linux-defad61a5b16352d3e22a04d4c930a5b5a7fd1f0.tar.gz linux-defad61a5b16352d3e22a04d4c930a5b5a7fd1f0.tar.bz2 linux-defad61a5b16352d3e22a04d4c930a5b5a7fd1f0.zip |
md: md_stop_writes requires mddev_lock.
As md_stop_writes manipulates the sync_thread and calls md_update_sb,
it need to be called with mddev_lock held.
In all internal cases it is, but the symbol is exported for dm-raid to
call and in that case the lock won't be help.
Do make an exported version which takes the lock, and an internal
version which does not.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/auxdisplay')
0 files changed, 0 insertions, 0 deletions