aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h6
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 {
42 char *client_address; 42 char *client_address;
43 43
44 struct { 44 struct {
45 struct sockaddr_in address; 45 struct sockaddr_storage address;
46 size_t addrlen;
46 char *hostname; 47 char *hostname;
47 unsigned int version; 48 unsigned int version;
48 unsigned short port; 49 unsigned short port;
@@ -50,7 +51,8 @@ struct nfs_parsed_mount_data {
50 } mount_server; 51 } mount_server;
51 52
52 struct { 53 struct {
53 struct sockaddr_in address; 54 struct sockaddr_storage address;
55 size_t addrlen;
54 char *hostname; 56 char *hostname;
55 char *export_path; 57 char *export_path;
56 int protocol; 58 int protocol;