diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-12-10 14:58:15 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:54 -0500 |
commit | 6e4cffd7b2cf86022dcf9cceeb63f16ff852caa1 (patch) | |
tree | 9f92711937e876f2e2e143c612fcbfb7c1b7d03a /include/linux/nfs_fs_sb.h | |
parent | 3b0d3f93d01bb013c3dcf9555d2d111c91ac6a1e (diff) |
NFS: Expand server address storage in nfs_client struct
Prepare for managing larger addresses in the NFS client by widening the
nfs_client struct's cl_addr field.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
(Modified to work with the new parameters for nfs_alloc_client)
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 0b3dcba3d97d..912cfe84ea86 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h | |||
@@ -21,7 +21,8 @@ struct nfs_client { | |||
21 | #define NFS_CS_CALLBACK 1 /* - callback started */ | 21 | #define NFS_CS_CALLBACK 1 /* - callback started */ |
22 | #define NFS_CS_IDMAP 2 /* - idmap started */ | 22 | #define NFS_CS_IDMAP 2 /* - idmap started */ |
23 | #define NFS_CS_RENEWD 3 /* - renewd started */ | 23 | #define NFS_CS_RENEWD 3 /* - renewd started */ |
24 | struct sockaddr_in cl_addr; /* server identifier */ | 24 | struct sockaddr_storage cl_addr; /* server identifier */ |
25 | size_t cl_addrlen; | ||
25 | char * cl_hostname; /* hostname of server */ | 26 | char * cl_hostname; /* hostname of server */ |
26 | struct list_head cl_share_link; /* link in global client list */ | 27 | struct list_head cl_share_link; /* link in global client list */ |
27 | struct list_head cl_superblocks; /* List of nfs_server structs */ | 28 | struct list_head cl_superblocks; /* List of nfs_server structs */ |