summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs3_fs.h
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2014-09-03 20:19:08 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-09-12 21:49:40 +0400
commit00a36a1090350995127c2a4bfac6be7fc85b5b81 (patch)
tree8600398719bb56609ff92a570d929970f0bb53ae /fs/nfs/nfs3_fs.h
parentf418c64b71590bac8fdebd0969a1eeaffaf036d2 (diff)
downloadlinux-00a36a1090350995127c2a4bfac6be7fc85b5b81.tar.xz
NFS: Move v3 declarations out of internal.h
I am generally against the "one big header file" approach, and everything in the client includes this file. Let's move all the NFS v3 declarations into a v3-only header file. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs3_fs.h')
-rw-r--r--fs/nfs/nfs3_fs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fs/nfs/nfs3_fs.h b/fs/nfs/nfs3_fs.h
new file mode 100644
index 000000000000..6599e0dcd69f
--- /dev/null
+++ b/fs/nfs/nfs3_fs.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2014 Anna Schumaker.
+ *
+ * NFSv3-specific filesystem definitions and declarations
+ */
+#ifndef __LINUX_FS_NFS_NFS3_FS_H
+#define __LINUX_FS_NFS_NFS3_FS_H
+
+/* nfs3client.c */
+struct nfs_server *nfs3_create_server(struct nfs_mount_info *, struct nfs_subversion *);
+struct nfs_server *nfs3_clone_server(struct nfs_server *, struct nfs_fh *,
+ struct nfs_fattr *, rpc_authflavor_t);
+
+
+#endif /* __LINUX_FS_NFS_NFS3_FS_H */