2 * Copyright (c) 2012 Netapp, Inc. All rights reserved.
4 #include <linux/module.h>
5 #include <linux/nfs_fs.h>
10 struct nfs_subversion nfs_v3 = {
12 .nfs_fs = &nfs_fs_type,
13 .rpc_vers = &nfs_version3,
14 .rpc_ops = &nfs_v3_clientops,
16 #ifdef CONFIG_NFS_V3_ACL
17 .xattr = nfs3_xattr_handlers,
21 static int __init init_nfs_v3(void)
23 register_nfs_version(&nfs_v3);
27 static void __exit exit_nfs_v3(void)
29 unregister_nfs_version(&nfs_v3);
32 MODULE_LICENSE("GPL");
34 module_init(init_nfs_v3);
35 module_exit(exit_nfs_v3);