summaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk.c
diff options
context:
space:
mode:
authorChristoph Hellwig2014-09-14 01:40:10 +0200
committerJens Axboe2014-09-22 20:00:07 +0200
commitc8a446ad695ada43a885ec12b38411dbd190a11b (patch)
tree8d9569b272e633c24b613938d09a29ff16dd994b /drivers/block/null_blk.c
parentblk-mq: call blk_mq_start_request from ->queue_rq (diff)
downloadkernel-qcow2-linux-c8a446ad695ada43a885ec12b38411dbd190a11b.tar.gz
kernel-qcow2-linux-c8a446ad695ada43a885ec12b38411dbd190a11b.tar.xz
kernel-qcow2-linux-c8a446ad695ada43a885ec12b38411dbd190a11b.zip
blk-mq: rename blk_mq_end_io to blk_mq_end_request
Now that we've changed the driver API on the submission side use the opportunity to fix up the name on the completion side to fit into the general scheme. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/null_blk.c')
-rw-r--r--drivers/block/null_blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/null_blk.c b/drivers/block/null_blk.c
index 332ce20d45da..ac50a2931044 100644
--- a/drivers/block/null_blk.c
+++ b/drivers/block/null_blk.c
@@ -177,7 +177,7 @@ static void end_cmd(struct nullb_cmd *cmd)
{
switch (queue_mode) {
case NULL_Q_MQ:
- blk_mq_end_io(cmd->rq, 0);
+ blk_mq_end_request(cmd->rq, 0);
return;
case NULL_Q_RQ:
INIT_LIST_HEAD(&cmd->rq->queuelist);