Linux 4.6-rc6
[cris-mirror.git] / fs / nfs / nfs3super.c
blob5c4394e4656b61c9135105231dba03d9cad3d769
1 /*
2 * Copyright (c) 2012 Netapp, Inc. All rights reserved.
3 */
4 #include <linux/module.h>
5 #include <linux/nfs_fs.h>
6 #include "internal.h"
7 #include "nfs3_fs.h"
8 #include "nfs.h"
10 struct nfs_subversion nfs_v3 = {
11 .owner = THIS_MODULE,
12 .nfs_fs = &nfs_fs_type,
13 .rpc_vers = &nfs_version3,
14 .rpc_ops = &nfs_v3_clientops,
15 .sops = &nfs_sops,
16 #ifdef CONFIG_NFS_V3_ACL
17 .xattr = nfs3_xattr_handlers,
18 #endif
21 static int __init init_nfs_v3(void)
23 register_nfs_version(&nfs_v3);
24 return 0;
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);