scsi: return blk_status_t from device handler ->prep_fn
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:42:40 +0000 (14:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 02:17:14 +0000 (19:17 -0700)
commit4c1cb67c03511a4a404aaaeb206222d5bebdc4ca
treee87a7fa009ac62e568d80cbd33a26eeaa219483f
parent159b2cbf59f44f2a0c005c1f323f8f05fb0a19f8
scsi: return blk_status_t from device handler ->prep_fn

Remove the last use of the old BLKPREP_* values, which get converted
to BLK_STS_* 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/device_handler/scsi_dh_alua.c
drivers/scsi/device_handler/scsi_dh_emc.c
drivers/scsi/device_handler/scsi_dh_hp_sw.c
drivers/scsi/device_handler/scsi_dh_rdac.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_dh.h