[SCSI] Return ENODATA on medium error
When a medium error is detected the SCSI stack should return ENODATA to the upper layers. [jejb: fix whitespace error] Signed-off-by:Hannes Reinecke <hare@suse.de> Signed-off-by:
James Bottomley <JBottomley@Parallels.com>
Showing
- block/blk-core.c 3 additions, 0 deletionsblock/blk-core.c
- drivers/md/dm-mpath.c 15 additions, 1 deletiondrivers/md/dm-mpath.c
- drivers/scsi/scsi_error.c 1 addition, 1 deletiondrivers/scsi/scsi_error.c
- drivers/scsi/scsi_lib.c 5 additions, 0 deletionsdrivers/scsi/scsi_lib.c
- include/scsi/scsi.h 1 addition, 0 deletionsinclude/scsi/scsi.h
Loading
Please register or sign in to comment