aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r--drivers/scsi/sd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 89e6c04ac595..efcbcd182863 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -3026,6 +3026,7 @@ static int sd_remove(struct device *dev)
3026 devt = disk_devt(sdkp->disk); 3026 devt = disk_devt(sdkp->disk);
3027 scsi_autopm_get_device(sdkp->device); 3027 scsi_autopm_get_device(sdkp->device);
3028 3028
3029 async_synchronize_full_domain(&scsi_sd_pm_domain);
3029 async_synchronize_full_domain(&scsi_sd_probe_domain); 3030 async_synchronize_full_domain(&scsi_sd_probe_domain);
3030 blk_queue_prep_rq(sdkp->device->request_queue, scsi_prep_fn); 3031 blk_queue_prep_rq(sdkp->device->request_queue, scsi_prep_fn);
3031 blk_queue_unprep_rq(sdkp->device->request_queue, NULL); 3032 blk_queue_unprep_rq(sdkp->device->request_queue, NULL);