diff options
author | Tetsuo Takata <takatan.linux@gmail.com> | 2006-01-24 10:34:36 +0100 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-01-24 10:34:36 +0100 |
commit | 60481b12b8816d431308c3d974e341ab8c8c0bcf (patch) | |
tree | c6e0f1b6ccace3aaa96bf26563cf4faba114d2ec /block/ll_rw_blk.c | |
parent | [BLOCK] elevator: allow default scheduler to potentially be modular (diff) | |
download | linux-60481b12b8816d431308c3d974e341ab8c8c0bcf.tar.xz linux-60481b12b8816d431308c3d974e341ab8c8c0bcf.zip |
[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>
Diffstat (limited to 'block/ll_rw_blk.c')
-rw-r--r-- | block/ll_rw_blk.c | 1 |
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, return -EINVAL; } + q->ordered = ordered; q->next_ordered = ordered; q->prepare_flush_fn = prepare_flush_fn; |