projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3b3d6
)
scsi: return EAGAIN when resetting a device under EH
author
Christoph Hellwig
<hch@lst.de>
Mon, 27 Oct 2014 15:28:13 +0000
(16:28 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 12 Nov 2014 10:16:12 +0000
(11:16 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/scsi_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_ioctl.c
b/drivers/scsi/scsi_ioctl.c
index 712f159ebb696bc6e147c9511a982cb81f67fa17..c4f7b56fa6f60d880fb5ce6b57e91a2c694bb30f 100644
(file)
--- a/
drivers/scsi/scsi_ioctl.c
+++ b/
drivers/scsi/scsi_ioctl.c
@@
-278,7
+278,7
@@
int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, int cmd,
{
if (cmd == SG_SCSI_RESET && ndelay) {
if (scsi_host_in_recovery(sdev->host))
- return -E
NODEV
;
+ return -E
AGAIN
;
} else {
if (!scsi_block_when_processing_errors(sdev))
return -ENODEV;