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>
Showing
- drivers/scsi/scsi_lib.c 23 additions, 22 deletionsdrivers/scsi/scsi_lib.c
- drivers/scsi/sd.c 38 additions, 47 deletionsdrivers/scsi/sd.c
- drivers/scsi/sd.h 3 additions, 3 deletionsdrivers/scsi/sd.h
- drivers/scsi/sd_zbc.c 5 additions, 5 deletionsdrivers/scsi/sd_zbc.c
- drivers/scsi/sr.c 6 additions, 6 deletionsdrivers/scsi/sr.c
- include/scsi/scsi_cmnd.h 1 addition, 1 deletioninclude/scsi/scsi_cmnd.h
- include/scsi/scsi_driver.h 2 additions, 1 deletioninclude/scsi/scsi_driver.h
Loading
Please register or sign in to comment