summaryrefslogtreecommitdiff
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-12 12:13:59 +0200
committerJens Axboe <axboe@fb.com>2017-04-19 10:19:47 -0600
commitd0fac02563d4fccaaf7c112f314cc5ad39aabdee (patch)
tree05b4851f625136e33cf0baf726b06dbe87c34b6a /block/blk-flush.c
parentfa1a15c08e23cb89c5837915b1989909bce47456 (diff)
block: make __blk_end_bidi_request private
blk_insert_flush should be using __blk_end_request to start with. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-flush.c')
-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 4e951d3bf548..c4e0880b54bb 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -447,7 +447,7 @@ void blk_insert_flush(struct request *rq)
if (q->mq_ops)
blk_mq_end_request(rq, 0);
else
- __blk_end_bidi_request(rq, 0, 0, 0);
+ __blk_end_request(rq, 0, 0);
return;
}