summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-linear.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-26 03:20:35 +0200
committerNeilBrown <neilb@suse.de>2011-07-26 03:20:35 +0200
commitcbe47ec559c33a68b5ee002051b848d1531a8adb (patch)
tree922184b1b599ce0e97f01d7fc6a84fc4c8493a0c /drivers/md/dm-linear.c
parentmd/raid5: Remove use of sh->lock in sync_request (diff)
downloadlinux-cbe47ec559c33a68b5ee002051b848d1531a8adb.tar.xz
linux-cbe47ec559c33a68b5ee002051b848d1531a8adb.zip
md/raid5: Protect some more code with ->device_lock.
Other places that change or follow dev->towrite and dev->written take the device_lock as well as the sh->lock. So it should really be held in these places too. Also, doing so will allow sh->lock to be discarded. with merged fixes by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions