nvme-multipath: call bio_io_error in nvme_ns_head_submit_bio
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Wed, 9 Mar 2022 06:02:28 +0000 (14:02 +0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 14 Mar 2022 07:43:05 +0000 (08:43 +0100)
commit8f31dded50d927974a5a696196052ed53f1baf66
treeaf2af47ef48f29638628142e3fdeb3bb24cc42e3
parent5e6a7d1eb834be23243c48a964ced67ab0b6e9ce
nvme-multipath: call bio_io_error in nvme_ns_head_submit_bio

Use bio_io_error() here since bio_io_error does the same thing.

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/multipath.c