scsi: return EAGAIN when resetting a device under EH
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Oct 2014 15:28:13 +0000 (16:28 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:12 +0000 (11:16 +0100)
commite9afccc5245a35468f52bc3f53ed162caabf275d
treebf5e9df4b774866dd83b243b1cdd94662e2dd576
parent2b3b3d61e8517b34432d1c73242b6345c9a15ebe
scsi: return EAGAIN when resetting a device under EH

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