]> 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)
commit93b03e2b9a1816449fb3693fdac88761a75dfb0e
treeba855272ab54f5a6acc878a23ddbc11ae163cc6a
parentff728284aae7b938a6a6b8acdde96edb078e5a70
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