summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-27 14:11:49 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-28 10:39:47 -0500
commit5284b44e438580a50e8cc5189297a73a48a45ecb (patch)
tree6005ff239965eb1d2ba59d2f2a8028e4c2eee301 /fs/nfsd/netns.h
parent3d7337115d06f21970e23684f4d2e62e3a44c572 (diff)
downloadop-kernel-dev-5284b44e438580a50e8cc5189297a73a48a45ecb.zip
op-kernel-dev-5284b44e438580a50e8cc5189297a73a48a45ecb.tar.gz
nfsd: make NFSv4 grace time per net
Grace 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 0c20be8..2c4b2e2 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -89,6 +89,7 @@ struct nfsd_net {
bool in_grace;
time_t nfsd4_lease;
+ time_t nfsd4_grace;
};
extern int nfsd_net_id;
OpenPOWER on IntegriCloud