diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-12-10 14:59:28 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:57 -0500 |
commit | 4c5680177012a2b5c0f3fdf58f4375dd84a1da67 (patch) | |
tree | d3d9e599291b4f9b738d02c3913b13541b100487 /fs/nfs/internal.h | |
parent | 9412b92772c1d80ea8284583b6aad0260e13515f (diff) | |
download | blackbird-obmc-linux-4c5680177012a2b5c0f3fdf58f4375dd84a1da67.tar.gz blackbird-obmc-linux-4c5680177012a2b5c0f3fdf58f4375dd84a1da67.zip |
NFS: Support non-IPv4 addresses in nfs_parsed_mount_data
Replace the nfs_server and mount_server address fields in the
nfs_parsed_mount_data structure with a "struct sockaddr_storage"
instead of a "struct sockaddr_in".
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
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, 4 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 75dd4e252cae..a80621199086 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -42,7 +42,8 @@ struct nfs_parsed_mount_data { char *client_address; struct { - struct sockaddr_in address; + struct sockaddr_storage address; + size_t addrlen; char *hostname; unsigned int version; unsigned short port; @@ -50,7 +51,8 @@ struct nfs_parsed_mount_data { } mount_server; struct { - struct sockaddr_in address; + struct sockaddr_storage address; + size_t addrlen; char *hostname; char *export_path; int protocol; |