NFS: exit_nfs_v4() shouldn't be an __exit function
authorBryan Schumaker <bjschuma@netapp.com>
Tue, 17 Jul 2012 19:18:30 +0000 (15:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 17 Jul 2012 21:02:57 +0000 (17:02 -0400)
... 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>
fs/nfs/nfs4super.c

index 2af26913884f56dfb17e62f532636a8fdedd558e..59264fb335c81a13bc3f7975b6325a982e06603a 100644 (file)
@@ -352,7 +352,7 @@ out:
        return err;
 }
 
-void __exit exit_nfs_v4(void)
+void exit_nfs_v4(void)
 {
        unregister_filesystem(&nfs4_fs_type);
        nfs4_unregister_sysctl();
This page took 0.025242 seconds and 5 git commands to generate.