aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
author\"Talpey, Thomas\ <Thomas.Talpey@netapp.com>2007-09-10 13:44:33 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:17:28 -0400
commit91ea40b9c6303ddab5c84f078f96b29084b45817 (patch)
treeb7f48effc5adbb1b9c36a7e16ce9133d7152aad9 /fs/nfs/internal.h
parent2283f8d6ed21ea2221df4cc329314b93f35351b0 (diff)
NFS: use in-kernel mount argument structure for nfsv4 mounts
The user-visible nfs4_mount_data does not contain sufficient data to describe new mount options, and also is now a legacy structure. Replace it with the internal nfs_parsed_mount_data for nfsv4 in-kernel use. Signed-off-by: Tom Talpey <tmt@netapp.com> Acked-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index d28e54e4dee4..f3acf48412be 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -5,7 +5,6 @@
5#include <linux/mount.h> 5#include <linux/mount.h>
6 6
7struct nfs_string; 7struct nfs_string;
8struct nfs4_mount_data;
9 8
10/* Maximum number of readahead requests 9/* Maximum number of readahead requests
11 * FIXME: this should really be a sysctl so that users may tune it to suit 10 * FIXME: this should really be a sysctl so that users may tune it to suit
@@ -67,13 +66,9 @@ extern struct nfs_client *nfs_find_client(const struct sockaddr_in *, int);
67extern struct nfs_server *nfs_create_server( 66extern struct nfs_server *nfs_create_server(
68 const struct nfs_parsed_mount_data *, 67 const struct nfs_parsed_mount_data *,
69 struct nfs_fh *); 68 struct nfs_fh *);
70extern struct nfs_server *nfs4_create_server(const struct nfs4_mount_data *, 69extern struct nfs_server *nfs4_create_server(
71 const char *, 70 const struct nfs_parsed_mount_data *,
72 const struct sockaddr_in *, 71 struct nfs_fh *);
73 const char *,
74 const char *,
75 rpc_authflavor_t,
76 struct nfs_fh *);
77extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *, 72extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *,
78 struct nfs_fh *); 73 struct nfs_fh *);
79extern void nfs_free_server(struct nfs_server *server); 74extern void nfs_free_server(struct nfs_server *server);