aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTetsuo Takata <takatan.linux@gmail.com>2006-01-24 04:34:36 -0500
committerJens Axboe <axboe@suse.de>2006-01-24 04:34:36 -0500
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 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,
332 return -EINVAL; 332 return -EINVAL;
333 } 333 }
334 334
335 q->ordered = ordered;
335 q->next_ordered = ordered; 336 q->next_ordered = ordered;
336 q->prepare_flush_fn = prepare_flush_fn; 337 q->prepare_flush_fn = prepare_flush_fn;
337 338