summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-27 12:11:44 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-11-28 16:39:46 +0100
commit3d7337115d06f21970e23684f4d2e62e3a44c572 (patch)
tree08701fd0025986ff1b0ec6d70022189c000876c3 /fs/nfsd/netns.h
parentnfsd: remove redundant declarations (diff)
downloadlinux-3d7337115d06f21970e23684f4d2e62e3a44c572.tar.xz
linux-3d7337115d06f21970e23684f4d2e62e3a44c572.zip
nfsd: make NFSv4 lease time per net
Lease time is a part of NFSv4 state engine, which is constructed per network namespace. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 9047706b3e10..0c20be82cb01 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -87,6 +87,8 @@ struct nfsd_net {
struct file *rec_file;
bool in_grace;
+
+ time_t nfsd4_lease;
};
extern int nfsd_net_id;