Browse Source

NFS: exit_nfs_v4() shouldn't be an __exit function

... yet.  Right now, init_nfs() is calling this function if an error is
encountered when loading the nfs module.  An __exit function can't be
called from one declared as __init.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Bryan Schumaker 13 years ago
parent
commit
bb6e071f84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/nfs/nfs4super.c

+ 1 - 1
fs/nfs/nfs4super.c

@@ -352,7 +352,7 @@ out:
 	return err;
 	return err;
 }
 }
 
 
-void __exit exit_nfs_v4(void)
+void exit_nfs_v4(void)
 {
 {
 	unregister_filesystem(&nfs4_fs_type);
 	unregister_filesystem(&nfs4_fs_type);
 	nfs4_unregister_sysctl();
 	nfs4_unregister_sysctl();