kernels/linux-2.4.0/fs/nfsd/nfsctl.c
/*
 * Clean up the mess before unloading the module
 */
Clean up the mess before unloading the module
Clean up the mess before unloading the module
void
cleanup_module(void)
{
	nfsd_linkage = NULL;
	nfsd_export_shutdown();
	nfsd_cache_shutdown();
	remove_proc_entry("fs/nfs/exports", NULL);
	remove_proc_entry("fs/nfs", NULL);
	nfsd_stat_shutdown();
	nfsd_lockd_shutdown();
}
void cleanup_module ( void ) { nfsd_linkage = NULL ; nfsd_export_shutdown ( ) ; nfsd_cache_shutdown ( ) ; remove_proc_entry ( " " , NULL ) ; remove_proc_entry ( " " , NULL ) ; nfsd_stat_shutdown ( ) ; nfsd_lockd_shutdown ( ) ; }
Clean up the mess before unloading the module
Clean up the mess before unloading the module