git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd4: simplify references to nfsd4 lease time
[safe/jmp/linux-2.6]
/
fs
/
nfsd
/
nfs4callback.c
diff --git
a/fs/nfsd/nfs4callback.c
b/fs/nfsd/nfs4callback.c
index
4bc22c7
..
ed12ad4
100644
(file)
--- a/
fs/nfsd/nfs4callback.c
+++ b/
fs/nfsd/nfs4callback.c
@@
-455,7
+455,7
@@
static struct rpc_program cb_program = {
static int max_cb_time(void)
{
- return max(
NFSD_LEASE_TIME
/10, (time_t)1) * HZ;
+ return max(
nfsd4_lease
/10, (time_t)1) * HZ;
}
/* Reference counting, callback cleanup, etc., all look racy as heck.