Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26812
b: refs/heads/master
c: e658105
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed May 17, 2006
1 parent 5ed8ef8 commit f362c92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 1db76c14d215c8b26024dd532de3dcaf66ea30f7
refs/heads/master: e65810566f3e613d9baa5512b8724ebde42ace0f
5 changes: 4 additions & 1 deletion trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ static void srp_disconnect_target(struct srp_target_port *target)
/* XXX should send SRP_I_LOGOUT request */

init_completion(&target->done);
ib_send_cm_dreq(target->cm_id, NULL, 0);
if (ib_send_cm_dreq(target->cm_id, NULL, 0)) {
printk(KERN_DEBUG PFX "Sending CM DREQ failed\n");
return;
}
wait_for_completion(&target->done);
}

Expand Down

0 comments on commit f362c92

Please sign in to comment.