diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-08-14 12:57:56 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-08-21 11:27:43 -0400 |
commit | 363168b4ea8ec26aeb982ac6024a09f907ecd27e (patch) | |
tree | 95e626b67a238047caad3ce445b27eef98330780 /include | |
parent | be3ad6b0b675fd1d6b48362ca30bdee75fbef6b4 (diff) |
nfsd: make nfs4_client->cl_addr a struct sockaddr_storage
It's currently a __be32, which isn't big enough to hold an IPv6 address.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index 58bb19784e12..3510ddd4be49 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -200,7 +200,7 @@ struct nfs4_client { | |||
200 | char cl_recdir[HEXDIR_LEN]; /* recovery dir */ | 200 | char cl_recdir[HEXDIR_LEN]; /* recovery dir */ |
201 | nfs4_verifier cl_verifier; /* generated by client */ | 201 | nfs4_verifier cl_verifier; /* generated by client */ |
202 | time_t cl_time; /* time of last lease renewal */ | 202 | time_t cl_time; /* time of last lease renewal */ |
203 | __be32 cl_addr; /* client ipaddress */ | 203 | struct sockaddr_storage cl_addr; /* client ipaddress */ |
204 | u32 cl_flavor; /* setclientid pseudoflavor */ | 204 | u32 cl_flavor; /* setclientid pseudoflavor */ |
205 | char *cl_principal; /* setclientid principal name */ | 205 | char *cl_principal; /* setclientid principal name */ |
206 | struct svc_cred cl_cred; /* setclientid principal */ | 206 | struct svc_cred cl_cred; /* setclientid principal */ |