diff options
Diffstat (limited to 'fs/lockd/host.c')
| -rw-r--r-- | fs/lockd/host.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 82c77df81c5f..7901f5b8092c 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c  | |||
| @@ -173,11 +173,10 @@ nlm_bind_host(struct nlm_host *host) | |||
| 173 | 173 | ||
| 174 | /* If we've already created an RPC client, check whether | 174 | /* If we've already created an RPC client, check whether | 
| 175 | * RPC rebind is required | 175 | * RPC rebind is required | 
| 176 | * Note: why keep rebinding if we're on a tcp connection? | ||
| 177 | */ | 176 | */ | 
| 178 | if ((clnt = host->h_rpcclnt) != NULL) { | 177 | if ((clnt = host->h_rpcclnt) != NULL) { | 
| 179 | xprt = clnt->cl_xprt; | 178 | xprt = clnt->cl_xprt; | 
| 180 | if (!xprt->stream && time_after_eq(jiffies, host->h_nextrebind)) { | 179 | if (time_after_eq(jiffies, host->h_nextrebind)) { | 
| 181 | clnt->cl_port = 0; | 180 | clnt->cl_port = 0; | 
| 182 | host->h_nextrebind = jiffies + NLM_HOST_REBIND; | 181 | host->h_nextrebind = jiffies + NLM_HOST_REBIND; | 
| 183 | dprintk("lockd: next rebind in %ld jiffies\n", | 182 | dprintk("lockd: next rebind in %ld jiffies\n", | 
