NLM: Fix locking client timeouts...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 14 May 2007 20:50:44 +0000 (16:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 14 May 2007 23:33:44 +0000 (19:33 -0400)
nlmsvc_timeout is already in units of HZ...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c

index ad21c07..96070bf 100644 (file)
@@ -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,