Matthew DeVore has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/505151 )
Change subject: mem_handle: Do not grab lock on destroyed handle
......................................................................
mem_handle: Do not grab lock on destroyed handle
mem_clean_all_dirents is only called in one place, and it is after the
object handle has been destroyed. Hence, there is no valid lock to
acquire. This cleanup also happens after the final reference count to
the object is released, so there should be no danger of concurrent
modification.
This fixes a crash when running st_rename.testDirToDir in pynfs on
macOS.
Change-Id: I18b9cabcb31d82463279cb6232e0b26bbea16d4d
Signed-off-by: Matthew DeVore <matvore(a)google.com>
---
M src/FSAL/FSAL_MEM/mem_handle.c
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/51/505151/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/505151
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: I18b9cabcb31d82463279cb6232e0b26bbea16d4d
Gerrit-Change-Number: 505151
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew DeVore <matvore(a)google.com>
Gerrit-MessageType: newchange