aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r--drivers/scsi/scsi_scan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 56a93794c470..0a224e29c3f1 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -911,6 +911,9 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
911 if (*bflags & BLIST_RETRY_HWERROR) 911 if (*bflags & BLIST_RETRY_HWERROR)
912 sdev->retry_hwerror = 1; 912 sdev->retry_hwerror = 1;
913 913
914 if (*bflags & BLIST_NO_DIF)
915 sdev->no_dif = 1;
916
914 transport_configure_device(&sdev->sdev_gendev); 917 transport_configure_device(&sdev->sdev_gendev);
915 918
916 if (sdev->host->hostt->slave_configure) { 919 if (sdev->host->hostt->slave_configure) {