[SCSI] remove target parent limitiation
[deliverable/linux.git] / drivers / scsi / scsi_sysfs.c
index 2cb962751a7ee76bbbe7f503a41a390cbc3004a6..a77b32deaf8fdb732d45371a0eacf2c73a28d672 100644 (file)
@@ -106,7 +106,10 @@ static int scsi_scan(struct Scsi_Host *shost, const char *str)
                return -EINVAL;
        if (check_set(&lun, s3))
                return -EINVAL;
-       res = scsi_scan_host_selected(shost, channel, id, lun, 1);
+       if (shost->transportt->user_scan)
+               res = shost->transportt->user_scan(shost, channel, id, lun);
+       else
+               res = scsi_scan_host_selected(shost, channel, id, lun, 1);
        return res;
 }
 
This page took 0.025865 seconds and 5 git commands to generate.