From 60481b12b8816d431308c3d974e341ab8c8c0bcf Mon Sep 17 00:00:00 2001 From: Tetsuo Takata Date: Tue, 24 Jan 2006 10:34:36 +0100 Subject: [PATCH] [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 --- block/ll_rw_blk.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5