Daniel Gryniewicz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/445330
Change subject: MDCACHE - Ref the first chunk during readdir
......................................................................
MDCACHE - Ref the first chunk during readdir
When doing a readdir, we know that we are going to have to return
dirents from the first chunk to the client. Protect this chunk from
being freed by taking a ref. To do this, take a ref in
mdcache_populate_dir_chunk() and mdcache_avl_lookup_ck()
Change-Id: I10d5e76bb1fc9c21b425f201271feab22132a400
Signed-off-by: Daniel Gryniewicz <dang(a)redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_avl.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
2 files changed, 21 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/30/445330/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/445330
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: I10d5e76bb1fc9c21b425f201271feab22132a400
Gerrit-Change-Number: 445330
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang(a)redhat.com>
Gerrit-MessageType: newchange