]> err.no Git - linux-2.6/commitdiff
[BLOCK] ll_rw_blk: fix setting of ->ordered on init
authorTetsuo Takata <takatan.linux@gmail.com>
Tue, 24 Jan 2006 09:34:36 +0000 (10:34 +0100)
committerJens Axboe <axboe@suse.de>
Tue, 24 Jan 2006 09:34:36 +0000 (10:34 +0100)
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>
block/ll_rw_blk.c

index 6bc41564c70e2cda86dd26c502c1967aa6902e0f..e00ab71b5e0cea462ad2c487e2854ff873ad711f 100644 (file)
@@ -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;