]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: call state init and shutdown twice
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Nov 2012 12:22:18 +0000 (15:22 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2012 15:13:53 +0000 (10:13 -0500)
commitce2998ffea38613caffece63e88824e20012cd0d
treeb2beb8aa4ccd300f5b3ed70431d167b46fbcd9e4
parent11c673c521348d593c7ffad9e44e268b3b31ac35
nfsd: call state init and shutdown twice

Split NFSv4 state init and shutdown into two different calls: per-net one and
generic one.
Per-net cwinit/shutdown pair have to be called for any namespace, generic pair
- only once on NSFd kthreads start and shutdown respectively.

Refresh of diff-nfsd-call-state-init-twice

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/nfsd.h
fs/nfsd/nfssvc.c