summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-17 15:18:30 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-17 17:02:57 -0400
commitbb6e071f845d32545e3e943058012f328a2e95ad (patch)
tree771464fc5916d267a6e49d251610fcf065502be1 /fs/nfs
parent013448c59b8a8cf71a5ff89641f78b620671ccb0 (diff)
downloadblackbird-op-linux-bb6e071f845d32545e3e943058012f328a2e95ad.tar.gz
blackbird-op-linux-bb6e071f845d32545e3e943058012f328a2e95ad.zip
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4super.c b/fs/nfs/nfs4super.c
index 2af26913884f..59264fb335c8 100644
--- a/fs/nfs/nfs4super.c
+++ b/fs/nfs/nfs4super.c
@@ -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();
OpenPOWER on IntegriCloud