blk-mq: Make blk_mq_reinit_tagset() calls easier to read
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 23:23:03 +0000 (16:23 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:36:58 +0000 (08:36 -0600)
commitd352ae205d8b05f3f7558d10f474d8436581b3e2
tree25611230b1b7ff8b10a45ec02038395931eac85d
parent37f02e5fb3c9d3c8bb109fc44903243e0f16ecd0
blk-mq: Make blk_mq_reinit_tagset() calls easier to read

Since blk_mq_ops.reinit_request is only called from inside
blk_mq_reinit_tagset(), make this function pointer an argument of
blk_mq_reinit_tagset() instead of a member of struct blk_mq_ops.
This patch does not change any functionality but makes
blk_mq_reinit_tagset() calls easier to read and to analyze.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: James Smart <james.smart@broadcom.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-tag.c
drivers/nvme/host/fc.c
drivers/nvme/host/rdma.c
include/linux/blk-mq.h