diff options
author | \"Talpey, Thomas\ <Thomas.Talpey@netapp.com> | 2007-09-10 13:43:56 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:17:26 -0400 |
commit | 2283f8d6ed21ea2221df4cc329314b93f35351b0 (patch) | |
tree | dbf8b87e45b4fa76d50c0fd7ec0b3d4f1afd94ca /fs/nfs/internal.h | |
parent | 6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228 (diff) |
NFS: use in-kernel mount argument structure for nfsv[23] mounts
The user-visible nfs_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 nfsv[23] 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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 9c2d0fbb9f89..d28e54e4dee4 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 | ||
7 | struct nfs_string; | 7 | struct nfs_string; |
8 | struct nfs_mount_data; | ||
9 | struct nfs4_mount_data; | 8 | struct nfs4_mount_data; |
10 | 9 | ||
11 | /* Maximum number of readahead requests | 10 | /* Maximum number of readahead requests |
@@ -65,8 +64,9 @@ extern struct rpc_program nfs_program; | |||
65 | 64 | ||
66 | extern void nfs_put_client(struct nfs_client *); | 65 | extern void nfs_put_client(struct nfs_client *); |
67 | extern struct nfs_client *nfs_find_client(const struct sockaddr_in *, int); | 66 | extern struct nfs_client *nfs_find_client(const struct sockaddr_in *, int); |
68 | extern struct nfs_server *nfs_create_server(const struct nfs_mount_data *, | 67 | extern struct nfs_server *nfs_create_server( |
69 | struct nfs_fh *); | 68 | const struct nfs_parsed_mount_data *, |
69 | struct nfs_fh *); | ||
70 | extern struct nfs_server *nfs4_create_server(const struct nfs4_mount_data *, | 70 | extern struct nfs_server *nfs4_create_server(const struct nfs4_mount_data *, |
71 | const char *, | 71 | const char *, |
72 | const struct sockaddr_in *, | 72 | const struct sockaddr_in *, |