diff options
Diffstat (limited to 'fs/lockd/svc.c')
-rw-r--r-- | fs/lockd/svc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index be9e0a5f3..d61db4302 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -64,6 +64,7 @@ lockd(struct svc_rqst *rqstp) { struct svc_serv *serv = rqstp->rq_server; int err = 0; + unsigned long grace_period_expire; /* Lock module and set up kernel thread */ MOD_INC_USE_COUNT; @@ -111,7 +112,7 @@ lockd(struct svc_rqst *rqstp) } #endif - nlmsvc_grace_period += jiffies; + grace_period_expire = nlmsvc_grace_period + jiffies; nlmsvc_timeout = nlm_timeout * HZ; /* |