block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectors
[deliverable/linux.git] / drivers / cdrom / viocd.c
index 57ca69e0ac553a086ec1751441188c6415f4fe56..b1dfd23eb8328f3cda37ff1343f445c80f52c41f 100644 (file)
@@ -618,7 +618,7 @@ static int viocd_probe(struct vio_dev *vdev, const struct vio_device_id *id)
                        sizeof(gendisk->disk_name));
        blk_queue_max_hw_segments(q, 1);
        blk_queue_max_phys_segments(q, 1);
-       blk_queue_max_sectors(q, 4096 / 512);
+       blk_queue_max_hw_sectors(q, 4096 / 512);
        gendisk->queue = q;
        gendisk->fops = &viocd_fops;
        gendisk->flags = GENHD_FL_CD|GENHD_FL_REMOVABLE;
This page took 0.091828 seconds and 5 git commands to generate.