block: Consolidate phys_segment and hw_segment limits
[linux-2.6.git] / drivers / s390 / char / tape_block.c
index 509ed05..097da8c 100644 (file)
@@ -223,8 +223,7 @@ tapeblock_setup_device(struct tape_device * device)
 
        blk_queue_logical_block_size(blkdat->request_queue, TAPEBLOCK_HSEC_SIZE);
        blk_queue_max_hw_sectors(blkdat->request_queue, TAPEBLOCK_MAX_SEC);
-       blk_queue_max_phys_segments(blkdat->request_queue, -1L);
-       blk_queue_max_hw_segments(blkdat->request_queue, -1L);
+       blk_queue_max_segments(blkdat->request_queue, -1L);
        blk_queue_max_segment_size(blkdat->request_queue, -1L);
        blk_queue_segment_boundary(blkdat->request_queue, -1L);