aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Takata <takatan.linux@gmail.com>2006-01-24 10:34:36 +0100
committerJens Axboe <axboe@suse.de>2006-01-24 10:34:36 +0100
commit60481b12b8816d431308c3d974e341ab8c8c0bcf (patch)
treec6e0f1b6ccace3aaa96bf26563cf4faba114d2ec
parent248d5ca5ed5feb7f1a68d213c0ff89c604a97179 (diff)
[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 <takatatt@intellilink.co.jp> Signed-off-by: Jens Axboe <axboe@suse.de>
-rw-r--r--block/ll_rw_blk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index 6bc41564c70..e00ab71b5e0 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;