NFS: Remove v3 not compiled check from validate_mount_data()
[deliverable/linux.git] / fs / nfs / nfs3super.c
CommitLineData
ab7017a3
BS
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 "nfs.h"
8
9static struct nfs_subversion nfs_v3 = {
10 .owner = THIS_MODULE,
11 .nfs_fs = &nfs_fs_type,
12 .rpc_vers = &nfs_version3,
13 .rpc_ops = &nfs_v3_clientops,
6a74490d 14 .sops = &nfs_sops,
013cdf10
CH
15#ifdef CONFIG_NFS_V3_ACL
16 .xattr = nfs3_xattr_handlers,
17#endif
ab7017a3
BS
18};
19
1c606fb7 20static int __init init_nfs_v3(void)
ab7017a3
BS
21{
22 register_nfs_version(&nfs_v3);
23 return 0;
24}
25
1c606fb7 26static void __exit exit_nfs_v3(void)
ab7017a3
BS
27{
28 unregister_nfs_version(&nfs_v3);
29}
1c606fb7
BS
30
31MODULE_LICENSE("GPL");
32
33module_init(init_nfs_v3);
34module_exit(exit_nfs_v3);
This page took 0.15088 seconds and 5 git commands to generate.