From: Tetsuo Takata Date: Tue, 24 Jan 2006 09:34:36 +0000 (+0100) Subject: [BLOCK] ll_rw_blk: fix setting of ->ordered on init X-Git-Tag: v2.6.16-rc2~249^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60481b12b8816d431308c3d974e341ab8c8c0bcf;p=linux-2.6 [BLOCK] ll_rw_blk: fix setting of ->ordered on init This makes XFS barrier mounts succeed on my SCSI system. Signed-off-by: Tetsuo Takata Signed-off-by: Jens Axboe --- diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index 6bc41564c7..e00ab71b5e 100644 --- a/block/ll_rw_blk.c +++ b/block/ll_rw_blk.c @@ -332,6 +332,7 @@ int blk_queue_ordered(request_queue_t *q, unsigned ordered, return -EINVAL; } + q->ordered = ordered; q->next_ordered = ordered; q->prepare_flush_fn = prepare_flush_fn;