diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-11-20 23:11:01 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-12-02 20:53:44 +0100 |
commit | e619e6cbecb7fe97a924d625e848605333457b13 (patch) | |
tree | 7ea5bbe715b8a571028dc83e6200428f8c14d48b /drivers/scsi/advansys.c | |
parent | Linux 4.4-rc1 (diff) | |
download | linux-e619e6cbecb7fe97a924d625e848605333457b13.tar.xz linux-e619e6cbecb7fe97a924d625e848605333457b13.zip |
Revert "scsi: Fix a bdi reregistration race"
The SCSI sd driver probes SCSI devices asynchronously. The sd_remove()
function, called indirectly by device_del(), waits until asynchronous
probing has finished. Since the block layer queue must only be cleaned
up after probing has finished, device_del() has to be called before
blk_cleanup_queue(). Hence revert commit bf2cf3baa20b.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/advansys.c')
0 files changed, 0 insertions, 0 deletions