diff options
author | \"Talpey, Thomas\ | 2007-09-10 19:43:29 +0200 |
---|---|---|
committer | Trond Myklebust | 2007-10-09 23:17:23 +0200 |
commit | 6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228 (patch) | |
tree | 25f02ce2813cf7bc37b73b5a14a9a037c187eab7 /fs/nfs/internal.h | |
parent | SUNRPC: export per-transport rpcbind netid's (diff) | |
download | kernel-qcow2-linux-6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228.tar.gz kernel-qcow2-linux-6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228.tar.xz kernel-qcow2-linux-6b18eaa0821a559c5e2b7ed4b90f8aca5a8e6228.zip |
NFS: move nfs_parsed_mount_data structure definition
In preparation for rearranging the nfs mount argument passing, make the
nfs_parsed_mount_data struct visible across nfs kernel files.
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 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 76cf55d57101..9c2d0fbb9f89 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -27,6 +27,39 @@ struct nfs_clone_mount { rpc_authflavor_t authflavor; }; +/* + * In-kernel mount arguments + */ +struct nfs_parsed_mount_data { + int flags; + int rsize, wsize; + int timeo, retrans; + int acregmin, acregmax, + acdirmin, acdirmax; + int namlen; + unsigned int bsize; + unsigned int auth_flavor_len; + rpc_authflavor_t auth_flavors[1]; + char *client_address; + + struct { + struct sockaddr_in address; + char *hostname; + unsigned int program; + unsigned int version; + unsigned short port; + int protocol; + } mount_server; + + struct { + struct sockaddr_in address; + char *hostname; + char *export_path; + unsigned int program; + int protocol; + } nfs_server; +}; + /* client.c */ extern struct rpc_program nfs_program; |