[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>
This commit is contained in:
committed by
Linus Torvalds
parent
76a3550ec5
commit
ac4d8ff2a5
@@ -397,6 +397,7 @@ static int __init init_nfsd(void)
|
||||
nfsd_cache_init(); /* RPC reply cache */
|
||||
nfsd_export_init(); /* Exports table */
|
||||
nfsd_lockd_init(); /* lockd->nfsd callbacks */
|
||||
nfs4_state_init(); /* NFSv4 locking state */
|
||||
#ifdef CONFIG_NFSD_V4
|
||||
nfsd_idmap_init(); /* Name to ID mapping */
|
||||
#endif /* CONFIG_NFSD_V4 */
|
||||
|
Reference in New Issue
Block a user