Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156303
b: refs/heads/master
c: 17a093e
h: refs/heads/master
i:
  156301: 92f7f31
  156299: 6ff8b8d
  156295: cefea80
  156287: 9f22bc4
v: v3
  • Loading branch information
Swen Schillig authored and James Bottomley committed Jul 30, 2009
1 parent fac8d02 commit ce0111c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 379d6bf6573ee6541a38bbe9140c1f0b94e3feae
refs/heads/master: 17a093ef018481ee1760da19568bad3c11da395d
14 changes: 10 additions & 4 deletions trunk/drivers/s390/scsi/zfcp_erp.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,11 +848,17 @@ void zfcp_erp_port_strategy_open_lookup(struct work_struct *work)
gid_pn_work);

retval = zfcp_fc_ns_gid_pn(&port->erp_action);
if (retval == -ENOMEM)
if (!retval) {
port->erp_action.step = ZFCP_ERP_STEP_NAMESERVER_LOOKUP;
goto out;
}
if (retval == -ENOMEM) {
zfcp_erp_notify(&port->erp_action, ZFCP_STATUS_ERP_LOWMEM);
port->erp_action.step = ZFCP_ERP_STEP_NAMESERVER_LOOKUP;
if (retval)
zfcp_erp_notify(&port->erp_action, 0);
goto out;
}
/* all other error condtions */
zfcp_erp_notify(&port->erp_action, 0);
out:
zfcp_port_put(port);
}

Expand Down

0 comments on commit ce0111c

Please sign in to comment.