nfsd: cleanup NFSd state start a bit
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Nov 2012 12:22:13 +0000 (15:22 +0300)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 28 Nov 2012 15:13:52 +0000 (10:13 -0500)
commitd85ed443052570b25ea4b5f5fa70c57e0129fbc4
tree005815dd0f5bd4d067d202b4b9201f6f216f1242
parent4dce0ac9069bbebfd34f890f599ccdb92fa76e9f
nfsd: cleanup NFSd state start a bit

This patch renames nfs4_state_start_net() into nfs4_state_create_net(), where
get_net() now performed.
Also it introduces new nfs4_state_start_net(), which is now responsible for
state creation and initializing all per-net data and which is now called from
nfs4_state_start().

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