Sfoglia il codice sorgente

[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>
Tetsuo Takata 19 anni fa
parent
commit
60481b12b8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      block/ll_rw_blk.c

+ 1 - 0
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;