[PATCH] s390: fix blk_queue_ordered call in dasdc

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>
This commit is contained in:
Martin Schwidefsky 2006-01-14 13:21:02 -08:00 коммит произвёл Linus Torvalds
Родитель 53df751ccd
Коммит bcc132651d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}
/*