Commit 21051ba6 authored by Trond Myklebust's avatar Trond Myklebust

NLM: Fix locking client timeouts...

nlmsvc_timeout is already in units of HZ...
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent faa8b6c3
......@@ -221,7 +221,7 @@ nlm_bind_host(struct nlm_host *host)
host->h_nextrebind - jiffies);
}
} else {
unsigned long increment = nlmsvc_timeout * HZ;
unsigned long increment = nlmsvc_timeout;
struct rpc_timeout timeparms = {
.to_initval = increment,
.to_increment = increment,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment