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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=60481b12b8816d431308c3d974e341ab8c8c0bcf;p=openwrt%2Fstaging%2Fblogic.git [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 6bc41564c70e..e00ab71b5e0c 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;