1
2
3
4
5
6
7
8 #ifndef __LINUX_INTERNAL_NFS_H
9 #define __LINUX_INTERNAL_NFS_H
10
11 #include <linux/fs.h>
12 #include <linux/sunrpc/sched.h>
13 #include <linux/nfs_xdr.h>
14
15 struct nfs_subversion {
16 struct module *owner;
17 struct file_system_type *nfs_fs;
18 const struct rpc_version *rpc_vers;
19 const struct nfs_rpc_ops *rpc_ops;
20 const struct super_operations *sops;
21 const struct xattr_handler **xattr;
22 struct list_head list;
23 };
24
25 struct nfs_subversion *get_nfs_version(unsigned int);
26 void put_nfs_version(struct nfs_subversion *);
27 void register_nfs_version(struct nfs_subversion *);
28 void unregister_nfs_version(struct nfs_subversion *);
29
30 #endif