diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 7e8b2045ccfa..ada72af0a6dd 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -865,7 +865,7 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, | |||
865 | sdev->no_start_on_add = 1; | 865 | sdev->no_start_on_add = 1; |
866 | 866 | ||
867 | if (*bflags & BLIST_SINGLELUN) | 867 | if (*bflags & BLIST_SINGLELUN) |
868 | sdev->single_lun = 1; | 868 | scsi_target(sdev)->single_lun = 1; |
869 | 869 | ||
870 | sdev->use_10_for_rw = 1; | 870 | sdev->use_10_for_rw = 1; |
871 | 871 | ||