nfsd: move per-net startup code to separated function
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Thu, 6 Dec 2012 11:23:09 +0000 (14:23 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Dec 2012 21:25:36 +0000 (16:25 -0500)
commit6ff50b3dea9a242b50642a703b513986bffb8ce9
tree04c9a7bc28f512ee92e1821a7375432423cbf002
parent081603520b25f7b35ef63a363376a17c36ef74ed
nfsd: move per-net startup code to separated function

NFSd resources are partially per-net and partially globally used.
This patch splits resources init and shutdown and moves per-net code to
separated functions.
Generic and per-net init and shutdown are called sequentially for a while.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfssvc.c