]> git.baikalelectronics.ru Git - kernel.git/commit
block: move blk_rq_err_bytes to scsi
authorChristoph Hellwig <hch@lst.de>
Wed, 17 Nov 2021 06:13:54 +0000 (07:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:34:50 +0000 (06:34 -0700)
commit79478bf9ea9fa48d30836afa796ac13d8a0f320b
treeb9c057e680077735ad1d76972b5b03c3c9b08209
parentd58071a8a76d779eedab38033ae4c821c30295a5
block: move blk_rq_err_bytes to scsi

blk_rq_err_bytes is only used by the scsi midlayer, so move it there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20211117061404.331732-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/scsi/scsi_lib.c
include/linux/blk-mq.h