提交 0fc7d6e4 编写于 作者: K Kristian Høgsberg 提交者: Stefan Richter

firewire: Do an agent reset on error recovery.

Signed-off-by: NKristian Høgsberg <krh@redhat.com>

(Reverted part which moved it from eh_abort_handler to eh_host_reset_handler)
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 12f26aa1
...@@ -1076,7 +1076,7 @@ static int sbp2_scsi_abort(struct scsi_cmnd *cmd) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册