summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-11-26 16:16:25 +0300
committerJ. Bruce Fields <bfields@redhat.com>2012-11-28 10:13:53 -0500
commit3a0733692f6665a28c50ebadb6d9db2b183bcb91 (patch)
tree07173065b1a1cff301c2f77b1f970b7ad2ccd8bd /fs/nfsd/netns.h
parentf252bc6806a9428f2e3a429e4cdffbd012de9839 (diff)
nfsd: recovery - make rec_file per net
Opening and closing of this file is done in client tracking init and exit operations. Client tracking is done in network namespace context already. So let's make this file opened and closed per network context - this will simlify it's management. 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 08d5fa1ce82a..130563210c68 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -84,6 +84,8 @@ struct nfsd_net {
/* client_lock protects the client lru list and session hash table */
spinlock_t client_lock;
+
+ struct file *rec_file;
};
extern int nfsd_net_id;