diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-06-12 15:23:04 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-06-27 16:44:39 -0700 |
commit | 086f44f58855ae18bab19fb794cce6c6d2c6143b (patch) | |
tree | e4cad038ce28f9d137f4534f10b456ebd60f51cc /drivers/media/media-devnode.c | |
parent | 1fe0cb848890a3f4dd965fdce8b4108feb03971f (diff) | |
download | talos-op-linux-086f44f58855ae18bab19fb794cce6c6d2c6143b.tar.gz talos-op-linux-086f44f58855ae18bab19fb794cce6c6d2c6143b.zip |
IB/srp: Avoid skipping srp_reset_host() after a transport error
The SCSI error handler assumes that the transport layer is operational
if an eh_abort_handler() returns SUCCESS. Hence srp_abort() only
should return SUCCESS if sending the ABORT TASK task management
function succeeded. This patch avoids the SCSI error handler skipping
the srp_reset_host() call after a transport layer error.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/media/media-devnode.c')
0 files changed, 0 insertions, 0 deletions