]> err.no Git - linux-2.6/commitdiff
[PATCH] s390: fix blk_queue_ordered call in dasdc
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sat, 14 Jan 2006 21:21:02 +0000 (13:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:09 +0000 (18:27 -0800)
Add the missing third argument to the blk_queue_ordered call and use the
constant QUEUE_ORDERED_DRAIN instead of "1".

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/block/dasd.c

index 9c25654b1e75f5da0eabebc7c6f203b4e49691a8..b147beb9e1c59bd99aa59ba111e6b82a03acbfea 100644 (file)
@@ -1635,7 +1635,7 @@ dasd_setup_queue(struct dasd_device * device)
        blk_queue_max_hw_segments(device->request_queue, -1L);
        blk_queue_max_segment_size(device->request_queue, -1L);
        blk_queue_segment_boundary(device->request_queue, -1L);
-       blk_queue_ordered(device->request_queue, 1);
+       blk_queue_ordered(device->request_queue, QUEUE_ORDERED_DRAIN, NULL);
 }
 
 /*