Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204311
b: refs/heads/master
c: 9c785d9
h: refs/heads/master
i:
  204309: 16004fc
  204307: 665b81c
  204303: 4b0e497
v: v3
  • Loading branch information
Christof Schmitt authored and James Bottomley committed Jul 28, 2010
1 parent 16bb9db commit 4a8f03c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 835dc29887073eec7817559a07558f955383d099
refs/heads/master: 9c785d944e6fa7eef390c799b93e43243505780c
6 changes: 6 additions & 0 deletions trunk/drivers/s390/scsi/zfcp_erp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,11 @@ static int zfcp_erp_strategy(struct zfcp_erp_action *erp_action)
goto unlock;
}

if (erp_action->status & ZFCP_STATUS_ERP_TIMEDOUT) {
retval = ZFCP_ERP_FAILED;
goto check_target;
}

zfcp_erp_action_to_running(erp_action);

/* no lock to allow for blocking operations */
Expand Down Expand Up @@ -1278,6 +1283,7 @@ static int zfcp_erp_strategy(struct zfcp_erp_action *erp_action)
goto unlock;
}

check_target:
retval = zfcp_erp_strategy_check_target(erp_action, retval);
zfcp_erp_action_dequeue(erp_action);
retval = zfcp_erp_strategy_statechange(erp_action, retval);
Expand Down

0 comments on commit 4a8f03c

Please sign in to comment.