nfsd: recovery - make rec_file per net
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Nov 2012 13:16:25 +0000 (16:16 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2012 15:13:53 +0000 (10:13 -0500)
commit3a0733692f6665a28c50ebadb6d9db2b183bcb91
tree07173065b1a1cff301c2f77b1f970b7ad2ccd8bd
parentf252bc6806a9428f2e3a429e4cdffbd012de9839
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>
fs/nfsd/netns.h
fs/nfsd/nfs4recover.c