2 * Copyright (c) 2012 Netapp, Inc. All rights reserved.
4 #include <linux/module.h>
5 #include <linux/nfs_fs.h>
9 static struct nfs_subversion nfs_v3 = {
11 .nfs_fs = &nfs_fs_type,
12 .rpc_vers = &nfs_version3,
13 .rpc_ops = &nfs_v3_clientops,
15 #ifdef CONFIG_NFS_V3_ACL
16 .xattr = nfs3_xattr_handlers,
20 static int __init init_nfs_v3(void)
22 register_nfs_version(&nfs_v3);
26 static void __exit exit_nfs_v3(void)
28 unregister_nfs_version(&nfs_v3);
31 MODULE_LICENSE("GPL");
33 module_init(init_nfs_v3);
34 module_exit(exit_nfs_v3);