Change in ...nfs-ganesha[next]: Clean up rpc_tools.c including fixingup sprint_sockip etc.
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/455444
Change subject: Clean up rpc_tools.c including fixingup sprint_sockip etc.
......................................................................
Clean up rpc_tools.c including fixingup sprint_sockip etc.
Eliminate sprint_sockaddr and have callers directly call
display_sockaddr.
sprint_sockip is ONLY called for AF_INET and AF_INET6 (and maybe VSOCK
in the future) so we can be a little simpler.
Make sure all callers of sprint_sockip are ok with possible failure.
Call display_sockaddr instead of sprint_sockip if the use really is
just for logging.
Change-Id: I08278ba0230f79936094c01cd1414db13290b94b
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/FSAL/FSAL_GLUSTER/mds.c
M src/FSAL/FSAL_PROXY/handle.c
M src/MainNFSD/9p_dispatcher.c
M src/MainNFSD/nfs_rpc_callback.c
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/RPCAL/nfs_dupreq.c
M src/RPCAL/rpc_tools.c
M src/SAL/nfs4_recovery.c
M src/include/gsh_rpc.h
M src/include/sal_data.h
M src/support/client_mgr.c
M src/support/exports.c
M src/support/nfs_ip_name.c
13 files changed, 106 insertions(+), 227 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/44/455444/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/455444
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I08278ba0230f79936094c01cd1414db13290b94b
Gerrit-Change-Number: 455444
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange