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_v2
= {
11 .nfs_fs
= &nfs_fs_type
,
12 .rpc_vers
= &nfs_version2
,
13 .rpc_ops
= &nfs_v2_clientops
,
17 static int __init
init_nfs_v2(void)
19 register_nfs_version(&nfs_v2
);
23 static void __exit
exit_nfs_v2(void)
25 unregister_nfs_version(&nfs_v2
);
28 MODULE_LICENSE("GPL");
30 module_init(init_nfs_v2
);
31 module_exit(exit_nfs_v2
);