scsi: return blk_status_t from scsi_init_io and ->init_command
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:42:39 +0000 (14:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 02:17:14 +0000 (19:17 -0700)
commit159b2cbf59f44f2a0c005c1f323f8f05fb0a19f8
tree88ed5c3b080ef30d7a37807096e4244bf8981fc0
parent14784565f740e862adae4b1d7c91f51b4038c4f5
scsi: return blk_status_t from scsi_init_io and ->init_command

Replace the old BLKPREP_* values with the BLK_STS_ ones that they are
converted to later anyway.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/scsi/sd.h
drivers/scsi/sd_zbc.c
drivers/scsi/sr.c
include/scsi/scsi_cmnd.h
include/scsi/scsi_driver.h