]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/block/paride/pf.c
block: Consolidate phys_segment and hw_segment limits
[mv-sheeva.git] / drivers / block / paride / pf.c
index ea54ea393553831c6ba4a2066e9cb63859cd4e5b..ddb4f9abd480b8f0cb6ce013d6c514e5a211d120 100644 (file)
@@ -956,8 +956,7 @@ static int __init pf_init(void)
                return -ENOMEM;
        }
 
-       blk_queue_max_phys_segments(pf_queue, cluster);
-       blk_queue_max_hw_segments(pf_queue, cluster);
+       blk_queue_max_segments(pf_queue, cluster);
 
        for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {
                struct gendisk *disk = pf->disk;