summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-25 23:24:11 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-25 23:29:40 +0200
commit296cb94c9ddb63cd34d96f8ac3cfa59988ad485e (patch)
tree24c8f8e71610493df96d91d4209b303e1b20099c /drivers/block
parentblock/nullb: fix NULL dereference (diff)
downloadlinux-296cb94c9ddb63cd34d96f8ac3cfa59988ad485e.tar.xz
linux-296cb94c9ddb63cd34d96f8ac3cfa59988ad485e.zip
skd: Rename skd_softirq_done() into skd_complete_rq()
The latter name follows more closely the function names used in other blk-mq drivers. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/skd_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index 577618c57975..a55c8ef1a21d 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -629,7 +629,7 @@ static void skd_end_request(struct skd_device *skdev, struct request *req,
blk_mq_complete_request(req);
}
-static void skd_softirq_done(struct request *req)
+static void skd_complete_rq(struct request *req)
{
struct skd_request_context *skreq = blk_mq_rq_to_pdu(req);
@@ -2821,7 +2821,7 @@ err_out:
static const struct blk_mq_ops skd_mq_ops = {
.queue_rq = skd_mq_queue_rq,
- .complete = skd_softirq_done,
+ .complete = skd_complete_rq,
.timeout = skd_timed_out,
.init_request = skd_init_request,
.exit_request = skd_exit_request,