skd: Rename skd_softirq_done() into skd_complete_rq()
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 21:24:11 +0000 (14:24 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Aug 2017 21:29:40 +0000 (15:29 -0600)
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>
drivers/block/skd_main.c

index 577618c579750e9e14a01f4a0b4023773d8fff84..a55c8ef1a21d06a7fdbaddc7bcd6330e69facecd 100644 (file)
@@ -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,