From: Tetsuo Takata Date: Tue, 24 Jan 2006 09:34:36 +0000 (+0100) Subject: [BLOCK] ll_rw_blk: fix setting of ->ordered on init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60481b12b8816d431308c3d974e341ab8c8c0bcf;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Jens Axboe --- 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;