diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index d947ffc20ceb..3e58b2245f1f 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -921,6 +921,9 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, | |||
921 | if (*bflags & BLIST_RETRY_HWERROR) | 921 | if (*bflags & BLIST_RETRY_HWERROR) |
922 | sdev->retry_hwerror = 1; | 922 | sdev->retry_hwerror = 1; |
923 | 923 | ||
924 | if (*bflags & BLIST_NO_DIF) | ||
925 | sdev->no_dif = 1; | ||
926 | |||
924 | transport_configure_device(&sdev->sdev_gendev); | 927 | transport_configure_device(&sdev->sdev_gendev); |
925 | 928 | ||
926 | if (sdev->host->hostt->slave_configure) { | 929 | if (sdev->host->hostt->slave_configure) { |