diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-08-14 12:57:57 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-08-21 11:27:43 -0400 |
commit | aa9a4ec7707a5391cde556f3fa1b0eb4bca3bcf6 (patch) | |
tree | abb684bea62a77a0172d6be2f45f0414acedc5cc /include/linux | |
parent | 363168b4ea8ec26aeb982ac6024a09f907ecd27e (diff) |
nfsd: convert nfs4_cb_conn struct to hold address in sockaddr_storage
...rather than as a separate address and port fields. This will be
necessary for implementing callbacks over IPv6. Also, convert
gen_callback to use the standard rpcuaddr2sockaddr routine rather than
its own private one.
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/linux')
-rw-r--r-- | include/linux/nfsd/state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index 3510ddd4be49..fb0c404c7c5c 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -81,8 +81,8 @@ struct nfs4_delegation { | |||
81 | /* client delegation callback info */ | 81 | /* client delegation callback info */ |
82 | struct nfs4_cb_conn { | 82 | struct nfs4_cb_conn { |
83 | /* SETCLIENTID info */ | 83 | /* SETCLIENTID info */ |
84 | u32 cb_addr; | 84 | struct sockaddr_storage cb_addr; |
85 | unsigned short cb_port; | 85 | size_t cb_addrlen; |
86 | u32 cb_prog; | 86 | u32 cb_prog; |
87 | u32 cb_minorversion; | 87 | u32 cb_minorversion; |
88 | u32 cb_ident; /* minorversion 0 only */ | 88 | u32 cb_ident; /* minorversion 0 only */ |