Change in ...nfs-ganesha[next]: FSAL_GLUSTER: replace SET_GLUSTER_CREDS with smarter macros
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/522007 ) Change subject: FSAL_GLUSTER: replace SET_GLUSTER_CREDS with smarter macros ...................................................................... FSAL_GLUSTER: replace SET_GLUSTER_CREDS with smarter macros RESET_GLUSTER_CREDS: Quick and simple reset after op. SET_GLUSTER_CREDS_OP_CTX: Set creds from op_ctx, if USE_GLUSTER_DELEGATION lease_id will be set from op_ctx->caller_addr or op_ctx->client->cl_addrbuf if possible, otherwise it will be set to NULL. SET_GLUSTER_CREDS_MY_FD: Set creds from my_fd, copying lease_id if USE_GLUSTER_DELEGATION. SET_GLUSTER_LEASE_ID: If USE_GLUSTER_DELEGATION set lease_id in my_fd from op_ctx as from op_ctx->caller_addr or op_ctx->client->cl_addrbuf if possible, otherwise set it to all zeros. Change-Id: Iffef1463d3a71e78ee3a38ecd2b8e3390fabde7b Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/FSAL/FSAL_GLUSTER/ds.c M src/FSAL/FSAL_GLUSTER/gluster_internal.h M src/FSAL/FSAL_GLUSTER/handle.c M src/FSAL/FSAL_GLUSTER/mds.c 4 files changed, 158 insertions(+), 214 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/07/522007/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/522007 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: Iffef1463d3a71e78ee3a38ecd2b8e3390fabde7b Gerrit-Change-Number: 522007 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com> Gerrit-MessageType: newchange
participants (1)
-
Frank Filz (GerritHub)