Commit 296cb94c authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarBart 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: default avatarJens Axboe <axboe@kernel.dk>
parent 0d06a42f
...@@ -629,7 +629,7 @@ static void skd_end_request(struct skd_device *skdev, struct request *req, ...@@ -629,7 +629,7 @@ static void skd_end_request(struct skd_device *skdev, struct request *req,
blk_mq_complete_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); struct skd_request_context *skreq = blk_mq_rq_to_pdu(req);
...@@ -2821,7 +2821,7 @@ static int skd_cons_sksb(struct skd_device *skdev) ...@@ -2821,7 +2821,7 @@ static int skd_cons_sksb(struct skd_device *skdev)
static const struct blk_mq_ops skd_mq_ops = { static const struct blk_mq_ops skd_mq_ops = {
.queue_rq = skd_mq_queue_rq, .queue_rq = skd_mq_queue_rq,
.complete = skd_softirq_done, .complete = skd_complete_rq,
.timeout = skd_timed_out, .timeout = skd_timed_out,
.init_request = skd_init_request, .init_request = skd_init_request,
.exit_request = skd_exit_request, .exit_request = skd_exit_request,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment