blob: cef06d42334a92b37d1e8593367d41d880ca2ef7 [file] [log] [blame]
Bryan Schumakerab7017a2012-07-30 16:05:16 -04001/*
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_v2 = {
10 .owner = THIS_MODULE,
11 .nfs_fs = &nfs_fs_type,
12 .rpc_vers = &nfs_version2,
13 .rpc_ops = &nfs_v2_clientops,
14};
15
16int __init init_nfs_v2(void)
17{
18 register_nfs_version(&nfs_v2);
19 return 0;
20}
21
22void exit_nfs_v2(void)
23{
24 unregister_nfs_version(&nfs_v2);
25}