aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-08-22 20:06:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:35 -0400
commit27951bd26031f6c27d38df9e94623bbe208a2464 (patch)
tree4d5b84cb50ad06883e5aaf16d144ce6cdab9f006 /include/linux/nfs_fs_sb.h
parent509de8111656a7d89b4a1a5f430f4460ce510f0f (diff)
NFS: Maintain a common server record for NFS2/3 as well as for NFS4
Maintain a common server record for NFS2/3 as well as for NFS4 so that common stuff can be moved there from struct nfs_server. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 95f32d5f6e9c..e7d7662f51fd 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -70,6 +70,7 @@ struct nfs_client {
70 * NFS client parameters stored in the superblock. 70 * NFS client parameters stored in the superblock.
71 */ 71 */
72struct nfs_server { 72struct nfs_server {
73 struct nfs_client * nfs_client; /* shared client and NFS4 state */
73 struct rpc_clnt * client; /* RPC client handle */ 74 struct rpc_clnt * client; /* RPC client handle */
74 struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */ 75 struct rpc_clnt * client_sys; /* 2nd handle for FSINFO */
75 struct rpc_clnt * client_acl; /* ACL RPC client handle */ 76 struct rpc_clnt * client_acl; /* ACL RPC client handle */
@@ -103,7 +104,6 @@ struct nfs_server {
103 */ 104 */
104 char ip_addr[16]; 105 char ip_addr[16];
105 char * mnt_path; 106 char * mnt_path;
106 struct nfs_client * nfs_client; /* all NFSv4 state starts here */
107 struct list_head nfs4_siblings; /* List of other nfs_server structs 107 struct list_head nfs4_siblings; /* List of other nfs_server structs
108 * that share the same clientid 108 * that share the same clientid
109 */ 109 */