]> git.baikalelectronics.ru Git - 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)
commitde25c345aaa0842a6b39cd27784e489e4f97d818
tree3ad0cfe04ce16a2a07c50cdfa55a60149de50fc7
parentfab6bed554da3ed086935eb6ff0120b1bbc10011
[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