Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115423
b: refs/heads/master
c: c055551
h: refs/heads/master
i:
  115421: 3d14581
  115419: 04a2360
  115415: 85b2fad
  115407: fe830de
  115391: 118979d
v: v3
  • Loading branch information
Tom Talpey authored and Trond Myklebust committed Oct 10, 2008
1 parent 22d5f6b commit 0aab9fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 08ca0dce1eafa419059ac4cad9ed522af7052526
refs/heads/master: c055551e97e1ca00781bc41523f829e05a8afed7
6 changes: 1 addition & 5 deletions trunk/net/sunrpc/xprtrdma/verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,9 +804,8 @@ rpcrdma_ep_connect(struct rpcrdma_ep *ep, struct rpcrdma_ia *ia)
struct rdma_cm_id *id;
int rc = 0;
int retry_count = 0;
int reconnect = (ep->rep_connected != 0);

if (reconnect) {
if (ep->rep_connected != 0) {
struct rpcrdma_xprt *xprt;
retry:
rc = rpcrdma_ep_disconnect(ep, ia);
Expand Down Expand Up @@ -871,9 +870,6 @@ if (strnicmp(ia->ri_id->device->dma_device->bus->name, "pci", 3) == 0) {
goto out;
}

if (reconnect)
return 0;

wait_event_interruptible(ep->rep_connect_wait, ep->rep_connected != 0);

/*
Expand Down

0 comments on commit 0aab9fe

Please sign in to comment.