Merge branch 'for-2.6.34' of git://git.kernel.dk/linux-2.6-block
[linux-2.6-block.git] / drivers / scsi / scsi_scan.c
index f697229ae5a98a25b3620d114b1765a718c7c9fc..4bc8b77a2ef3ae55d71606310213f3007f2c1a56 100644 (file)
@@ -879,7 +879,7 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
         * broken RA4x00 Compaq Disk Array
         */
        if (*bflags & BLIST_MAX_512)
-               blk_queue_max_sectors(sdev->request_queue, 512);
+               blk_queue_max_hw_sectors(sdev->request_queue, 512);
 
        /*
         * Some devices may not want to have a start command automatically