From Jeff Layton <jlayton(a)redhat.com>:
Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/426925
Change subject: mdcache: do readdir cb supercall using entry->attrs
......................................................................
mdcache: do readdir cb supercall using entry->attrs
mdc_readdir_uncached_cb will update the mdcache first, and then do the
supercall with the old attributes. When updating the cache though, we
might "steal" some of the pointers in "attrs", which could make us
populate the reply from an incomplete set of attrs. Use the attrs in
the mdcache instead.
Change-Id: If2e3b7e9de1f496c96ad2cb29552318e33626c61
Signed-off-by: Jeff Layton <jlayton(a)redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/25/426925/1
--
To view, visit
https://review.gerrithub.io/426925
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: If2e3b7e9de1f496c96ad2cb29552318e33626c61
Gerrit-Change-Number: 426925
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton(a)redhat.com>