Browse Source

NLM: Fix locking client timeouts...

nlmsvc_timeout is already in units of HZ...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust 18 năm trước cách đây
mục cha
commit
21051ba625
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/lockd/host.c

+ 1 - 1
fs/lockd/host.c

@@ -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,