aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsctl.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 01:03:30 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 03:06:32 -0400
commitac4d8ff2a57179de3ef7834c6ab3fac430b0a05d (patch)
tree8c0f7125177a47d4140a73e4b59309a5bb3ffd2c /fs/nfsd/nfsctl.c
parent76a3550ec50ed86885a10a767ebaebb7c9104721 (diff)
[PATCH] knfsd: nfsd4: clean up state initialization
Separate out stuff that needs initialization on startup from stuff that only needs initialization on module init from static data. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r--fs/nfsd/nfsctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index 161afdcb8f7d..3d56531a7a03 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -397,6 +397,7 @@ static int __init init_nfsd(void)
397 nfsd_cache_init(); /* RPC reply cache */ 397 nfsd_cache_init(); /* RPC reply cache */
398 nfsd_export_init(); /* Exports table */ 398 nfsd_export_init(); /* Exports table */
399 nfsd_lockd_init(); /* lockd->nfsd callbacks */ 399 nfsd_lockd_init(); /* lockd->nfsd callbacks */
400 nfs4_state_init(); /* NFSv4 locking state */
400#ifdef CONFIG_NFSD_V4 401#ifdef CONFIG_NFSD_V4
401 nfsd_idmap_init(); /* Name to ID mapping */ 402 nfsd_idmap_init(); /* Name to ID mapping */
402#endif /* CONFIG_NFSD_V4 */ 403#endif /* CONFIG_NFSD_V4 */