aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/nfs3super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs3super.c')
-rw-r--r--fs/nfs/nfs3super.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/fs/nfs/nfs3super.c b/fs/nfs/nfs3super.c
index f815cf359d9..d6a98949af1 100644
--- a/fs/nfs/nfs3super.c
+++ b/fs/nfs/nfs3super.c
@@ -11,15 +11,24 @@ static struct nfs_subversion nfs_v3 = {
.nfs_fs = &nfs_fs_type,
.rpc_vers = &nfs_version3,
.rpc_ops = &nfs_v3_clientops,
+ .sops = &nfs_sops,
+#ifdef CONFIG_NFS_V3_ACL
+ .xattr = nfs3_xattr_handlers,
+#endif
};
-int __init init_nfs_v3(void)
+static int __init init_nfs_v3(void)
{
register_nfs_version(&nfs_v3);
return 0;
}
-void exit_nfs_v3(void)
+static void __exit exit_nfs_v3(void)
{
unregister_nfs_version(&nfs_v3);
}
+
+MODULE_LICENSE("GPL");
+
+module_init(init_nfs_v3);
+module_exit(exit_nfs_v3);