aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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 9871f8272df0..159537879f7e 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -665,7 +665,7 @@ static void ata_scsi_dev_config(struct scsi_device *sdev,
665 */ 665 */
666 max_sectors = ATA_MAX_SECTORS; 666 max_sectors = ATA_MAX_SECTORS;
667 if (dev->flags & ATA_DFLAG_LBA48) 667 if (dev->flags & ATA_DFLAG_LBA48)
668 max_sectors = 2048; 668 max_sectors = ATA_MAX_SECTORS_LBA48;
669 if (dev->max_sectors) 669 if (dev->max_sectors)
670 max_sectors = dev->max_sectors; 670 max_sectors = dev->max_sectors;
671 671