Skip to content

Commit

Permalink
[BLOCK] ll_rw_blk: fix setting of ->ordered on init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tetsuo Takata authored and Jens Axboe committed Jan 24, 2006
1 parent 248d5ca commit 60481b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 60481b1

Please sign in to comment.