diff options
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r-- | drivers/scsi/libata-scsi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c index 22c77a113536..072b6e5b139e 100644 --- a/drivers/scsi/libata-scsi.c +++ b/drivers/scsi/libata-scsi.c | |||
@@ -625,7 +625,10 @@ int ata_scsi_slave_config(struct scsi_device *sdev) | |||
625 | */ | 625 | */ |
626 | if ((dev->flags & ATA_DFLAG_LBA48) && | 626 | if ((dev->flags & ATA_DFLAG_LBA48) && |
627 | ((dev->flags & ATA_DFLAG_LOCK_SECTORS) == 0)) { | 627 | ((dev->flags & ATA_DFLAG_LOCK_SECTORS) == 0)) { |
628 | sdev->host->max_sectors = 2048; | 628 | /* |
629 | * do not overwrite sdev->host->max_sectors, since | ||
630 | * other drives on this host may not support LBA48 | ||
631 | */ | ||
629 | blk_queue_max_sectors(sdev->request_queue, 2048); | 632 | blk_queue_max_sectors(sdev->request_queue, 2048); |
630 | } | 633 | } |
631 | } | 634 | } |