aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs2super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs2super.c')
-rw-r--r--fs/nfs/nfs2super.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/nfs/nfs2super.c b/fs/nfs/nfs2super.c
index a9fb69d72816..0a9782c9171a 100644
--- a/fs/nfs/nfs2super.c
+++ b/fs/nfs/nfs2super.c
@@ -14,13 +14,18 @@ static struct nfs_subversion nfs_v2 = {
14 .sops = &nfs_sops, 14 .sops = &nfs_sops,
15}; 15};
16 16
17int __init init_nfs_v2(void) 17static int __init init_nfs_v2(void)
18{ 18{
19 register_nfs_version(&nfs_v2); 19 register_nfs_version(&nfs_v2);
20 return 0; 20 return 0;
21} 21}
22 22
23void exit_nfs_v2(void) 23static void __exit exit_nfs_v2(void)
24{ 24{
25 unregister_nfs_version(&nfs_v2); 25 unregister_nfs_version(&nfs_v2);
26} 26}
27
28MODULE_LICENSE("GPL");
29
30module_init(init_nfs_v2);
31module_exit(exit_nfs_v2);