Change in ...nfs-ganesha[next]: MDCACHE - Ensure ATTR4_FS_LOCATIONS and ATTR4_SEC_LABEL bits aren't lost
Daniel Gryniewicz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/525891 ) Change subject: MDCACHE - Ensure ATTR4_FS_LOCATIONS and ATTR4_SEC_LABEL bits aren't lost ...................................................................... MDCACHE - Ensure ATTR4_FS_LOCATIONS and ATTR4_SEC_LABEL bits aren't lost The refresh/copy/ref-handoff code depends on the ATTR4_* bits in request_mask always matching the associated pointers. However, mdcache_refresh_attrs() overwrites request_mask with the given one, losing this relationship. Fix it up, to make sure the bits are always set when the pointers are non-NULL. This was already done for ACL, but not for FS_LOCATIONS or SEC_LABEL Change-Id: I5784a797545f0ab4bf8562594431134484fbe757 Signed-off-by: Daniel Gryniewicz <dang@redhat.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c 1 file changed, 11 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/91/525891/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/525891 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: I5784a797545f0ab4bf8562594431134484fbe757 Gerrit-Change-Number: 525891 Gerrit-PatchSet: 1 Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com> Gerrit-MessageType: newchange
participants (1)
-
Daniel Gryniewicz (GerritHub)