[XS] Change in ...nfs-ganesha[next]: FSAL_MDCACHE/mdcache_handle: Fix accessing cached attrs without check...
shaharhoch@google.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201632?usp=email ) Change subject: FSAL_MDCACHE/mdcache_handle: Fix accessing cached attrs without checking validity ...................................................................... FSAL_MDCACHE/mdcache_handle: Fix accessing cached attrs without checking validity Previously, in mdcache test_access we check the owner override from the cached attributes, without checking their validity. This is also not needed, since fsal_test_access performs this check anyway, and does it properly, after calling get_attrs, which only gets the attributes from the cache if they are valid. Change-Id: Id19d7b6ec5ef89db2df4cdaa26538edcd63eb639 Signed-off-by: Shahar Hochma <shaharhoch@google.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c 1 file changed, 0 insertions(+), 6 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/32/1201632/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201632?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Id19d7b6ec5ef89db2df4cdaa26538edcd63eb639 Gerrit-Change-Number: 1201632 Gerrit-PatchSet: 1 Gerrit-Owner: shaharhoch@google.com
participants (1)
-
Name of user not set (GerritHub)