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>
10 static struct nfs_subversion nfs_v2 = {
12 .nfs_fs = &nfs_fs_type,
13 .rpc_vers = &nfs_version2,
14 .rpc_ops = &nfs_v2_clientops,
18 static int __init init_nfs_v2(void)
20 register_nfs_version(&nfs_v2);
24 static void __exit exit_nfs_v2(void)
26 unregister_nfs_version(&nfs_v2);
29 MODULE_LICENSE("GPL");
31 module_init(init_nfs_v2);
32 module_exit(exit_nfs_v2);