Madhu Thorat has uploaded this change for review.

View Change

Invalidate parent handle of a directory for invalidate UP call

Currently when mdc_up_invalidate() is called for a directory
we are not invalidating the parent handle saved inside
the 'entry' for the directory. And if mdcache_put() doesn't
free that 'entry', there is a chance that we may later on
use that 'entry' whose parent handle may not be valid.
To avoid this in mdc_up_invalidate() we now free the parent
handle for a directory.

Change-Id: I3d480733e18406f3d6af219254d1d1bf9a52d7fd
Signed-off-by: Madhu Thorat <madhu.punjabi@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_up.c
1 file changed, 7 insertions(+), 0 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/31/448631/1

To view, visit change 448631. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3d480733e18406f3d6af219254d1d1bf9a52d7fd
Gerrit-Change-Number: 448631
Gerrit-PatchSet: 1
Gerrit-Owner: Madhu Thorat <madhu.punjabi@in.ibm.com>
Gerrit-MessageType: newchange