]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: remove blk_qc_t_to_tag and blk_qc_t_is_internal
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:17 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commitde78d7a35fddfc9c944d930a86ccb4ea60210d58
treeba855272ab54f5a6acc878a23ddbc11ae163cc6a
parenta4d7b9947822c2c22c2cc5b04e49b7624f2d2ca1
blk-mq: remove blk_qc_t_to_tag and blk_qc_t_is_internal

Merge both functions into their only caller to keep the blk-mq tag to
blk_qc_t mapping as private as possible in blk-mq.c.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk_types.h