diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-11-20 14:11:01 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-12-02 11:53:44 -0800 |
commit | e619e6cbecb7fe97a924d625e848605333457b13 (patch) | |
tree | 7ea5bbe715b8a571028dc83e6200428f8c14d48b /block/blk-sysfs.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) |
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 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions