diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-11-26 16:16:25 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-11-28 10:13:53 -0500 |
commit | 3a0733692f6665a28c50ebadb6d9db2b183bcb91 (patch) | |
tree | 07173065b1a1cff301c2f77b1f970b7ad2ccd8bd /fs/nfsd/netns.h | |
parent | f252bc6806a9428f2e3a429e4cdffbd012de9839 (diff) | |
download | op-kernel-dev-3a0733692f6665a28c50ebadb6d9db2b183bcb91.zip op-kernel-dev-3a0733692f6665a28c50ebadb6d9db2b183bcb91.tar.gz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 08d5fa1..1305632 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; |