projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013448c
)
NFS: exit_nfs_v4() shouldn't be an __exit function
author
Bryan Schumaker
<bjschuma@netapp.com>
Tue, 17 Jul 2012 19:18:30 +0000
(15:18 -0400)
committer
Trond 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4super.c
b/fs/nfs/nfs4super.c
index 2af26913884f56dfb17e62f532636a8fdedd558e..59264fb335c81a13bc3f7975b6325a982e06603a 100644
(file)
--- 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();