1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012 Netapp, Inc. All rights reserved.
5 #include <linux/module.h>
6 #include <linux/nfs_fs.h>
11 struct nfs_subversion nfs_v3
= {
13 .nfs_fs
= &nfs_fs_type
,
14 .rpc_vers
= &nfs_version3
,
15 .rpc_ops
= &nfs_v3_clientops
,
17 #ifdef CONFIG_NFS_V3_ACL
18 .xattr
= nfs3_xattr_handlers
,
22 static int __init
init_nfs_v3(void)
24 register_nfs_version(&nfs_v3
);
28 static void __exit
exit_nfs_v3(void)
30 unregister_nfs_version(&nfs_v3
);
33 MODULE_LICENSE("GPL");
35 module_init(init_nfs_v3
);
36 module_exit(exit_nfs_v3
);