aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r--drivers/scsi/libata-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index dd954a23b357..b53ef494a206 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -678,7 +678,7 @@ static void ata_scsi_dev_config(struct scsi_device *sdev,
678 */ 678 */
679 max_sectors = ATA_MAX_SECTORS; 679 max_sectors = ATA_MAX_SECTORS;
680 if (dev->flags & ATA_DFLAG_LBA48) 680 if (dev->flags & ATA_DFLAG_LBA48)
681 max_sectors = 2048; 681 max_sectors = ATA_MAX_SECTORS_LBA48;
682 if (dev->max_sectors) 682 if (dev->max_sectors)
683 max_sectors = dev->max_sectors; 683 max_sectors = dev->max_sectors;
684 684