summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-12-04 14:29:27 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-12-10 16:25:30 -0500
commit9a9c6478a8b6ce8b6da6b6d1e15f365b505895cd (patch)
tree6e76bd072bc6d18e8a0c6279139a2f927e163135 /fs/nfsd/netns.h
parent9b2ef62b1541f176ea1b1f6e13b16df14bb16e99 (diff)
nfsd: make NFSv4 recovery client tracking options per net
Pointer to client tracking operations - client_tracking_ops - have to be containerized, because different environment can support different trackers (for example, legacy tracker currently is not suported in container). 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 964b5542f027..fac4123c918c 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -35,6 +35,7 @@
#define SESSION_HASH_SIZE 512
struct cld_net;
+struct nfsd4_client_tracking_ops;
struct nfsd_net {
struct cld_net *cld_net;
@@ -87,6 +88,7 @@ struct nfsd_net {
struct file *rec_file;
bool in_grace;
+ struct nfsd4_client_tracking_ops *client_tracking_ops;
time_t nfsd4_lease;
time_t nfsd4_grace;