]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[SCSI] Return ENODATA on medium error
authorHannes Reinecke <hare@suse.de>
Mon, 1 Jul 2013 13:16:26 +0000 (15:16 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 23 Aug 2013 16:54:53 +0000 (12:54 -0400)
commit7e782af57649f8a8e943d80104c946a5cd7af7cc
tree3ad0cfe04ce16a2a07c50cdfa55a60149de50fc7
parenta9d6ceb838755c24dde8a0ca02c3378926fc63db
[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>
block/blk-core.c
drivers/md/dm-mpath.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
include/scsi/scsi.h