]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: remove setting of ->queue_lock
authorNeilBrown <neilb@suse.de>
Wed, 20 Apr 2011 05:38:07 +0000 (15:38 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 20 Apr 2011 05:38:07 +0000 (15:38 +1000)
commitb1fdf5a6b9a7863bbf9a40d40aff25dae2a87cbe
tree34e3dc62926676983855aa0a4aa100aaabc98169
parent4ac80a4fa15e01b0c69e225fce09539cab4a280b
md/raid5: remove setting of ->queue_lock

We previously needed to set ->queue_lock to match the raid5
device_lock so we could safely use queue_flag_* operations (e.g. for
plugging). which test the ->queue_lock is in fact locked.

However that need has completely gone away and is unlikely to come
back to remove this now-pointless setting.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c