[SCSI] sd: limit the scope of the async probe domain
[deliverable/linux.git] / drivers / scsi / scsi_pm.c
index c4670642d023f2fbae4706ad79b9b32d86eb2c0b..f661a41fa4c6fef7e054ed15dd1b73596bc99691 100644 (file)
@@ -97,7 +97,7 @@ static int scsi_bus_prepare(struct device *dev)
 {
        if (scsi_is_sdev_device(dev)) {
                /* sd probing uses async_schedule.  Wait until it finishes. */
-               async_synchronize_full();
+               async_synchronize_full_domain(&scsi_sd_probe_domain);
 
        } else if (scsi_is_host_device(dev)) {
                /* Wait until async scanning is finished */
This page took 0.024802 seconds and 5 git commands to generate.