aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-flush.c b/block/blk-flush.c
index 72905f862d31..f357f1fc411c 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -77,7 +77,7 @@ static void post_flush_end_io(struct request *rq, int error)
77static void init_flush_request(struct request *rq, struct gendisk *disk) 77static void init_flush_request(struct request *rq, struct gendisk *disk)
78{ 78{
79 rq->cmd_type = REQ_TYPE_FS; 79 rq->cmd_type = REQ_TYPE_FS;
80 rq->cmd_flags = REQ_FLUSH; 80 rq->cmd_flags = WRITE_FLUSH;
81 rq->rq_disk = disk; 81 rq->rq_disk = disk;
82} 82}
83 83