Commit 60481b12 authored by Tetsuo Takata's avatar Tetsuo Takata Committed by Jens Axboe

[BLOCK] ll_rw_blk: fix setting of ->ordered on init

This makes XFS barrier mounts succeed on my SCSI system.
Signed-off-by: default avatarTetsuo Takata <takatatt@intellilink.co.jp>
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
parent 248d5ca5
...@@ -332,6 +332,7 @@ int blk_queue_ordered(request_queue_t *q, unsigned ordered, ...@@ -332,6 +332,7 @@ int blk_queue_ordered(request_queue_t *q, unsigned ordered,
return -EINVAL; return -EINVAL;
} }
q->ordered = ordered;
q->next_ordered = ordered; q->next_ordered = ordered;
q->prepare_flush_fn = prepare_flush_fn; q->prepare_flush_fn = prepare_flush_fn;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment