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 ad21c0713efa705ad7aeb5a18f165a46a934453f..96070bff93fc5c9f0ec91cef0c6abadfbf26e1e5 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,