提交 21051ba6 编写于 作者: T Trond Myklebust

NLM: Fix locking client timeouts...

nlmsvc_timeout is already in units of HZ...
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册