]> www.infradead.org Git - users/hch/block.git/commit
block: move blk_print_req_error to blk-mq.c
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Nov 2021 06:14:03 +0000 (07:14 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Nov 2021 15:24:07 +0000 (08:24 -0700)
commit065c87d65d74ac24bfc3bbc43de068ba99188b1c
treefcaacb9e47971a1732fc714a18ade3b9e706b778
parent8a77648954e63f6654042567e31794bfd5ea02a5
block: move blk_print_req_error to blk-mq.c

This function is only used by the request completion path.  Factor out
a blk_status_to_str to keep blk_errors private in blk-core.c.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20211117061404.331732-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk.h