firewire: Do an agent reset on error recovery.
Signed-off-by: Kristian Høgsberg <krh@redhat.com> (Reverted part which moved it from eh_abort_handler to eh_host_reset_handler) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
committed by
Stefan Richter
parent
12f26aa1b1
commit
0fc7d6e4f4
@@ -1076,7 +1076,7 @@ static int sbp2_scsi_abort(struct scsi_cmnd *cmd)
|
|||||||
struct fw_unit *unit = (struct fw_unit *)cmd->device->host->hostdata[0];
|
struct fw_unit *unit = (struct fw_unit *)cmd->device->host->hostdata[0];
|
||||||
|
|
||||||
fw_notify("sbp2_scsi_abort\n");
|
fw_notify("sbp2_scsi_abort\n");
|
||||||
|
sbp2_agent_reset(unit);
|
||||||
sbp2_cancel_orbs(unit);
|
sbp2_cancel_orbs(unit);
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
Reference in New Issue
Block a user