NLM: Fix locking client timeouts...

nlmsvc_timeout is already in units of HZ...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust
2007-05-14 16:50:44 -04:00
parent faa8b6c3c2
commit 21051ba625

View File

@@ -221,7 +221,7 @@ nlm_bind_host(struct nlm_host *host)
host->h_nextrebind - jiffies); host->h_nextrebind - jiffies);
} }
} else { } else {
unsigned long increment = nlmsvc_timeout * HZ; unsigned long increment = nlmsvc_timeout;
struct rpc_timeout timeparms = { struct rpc_timeout timeparms = {
.to_initval = increment, .to_initval = increment,
.to_increment = increment, .to_increment = increment,