Dipit Grover has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1176637?usp=email ) Change subject: idmapper_cache: Do not destroy the cache locks when clearing the caches ...................................................................... idmapper_cache: Do not destroy the cache locks when clearing the caches This fixes a bug where calling cache-clear will also destroy the cache locks, hence causing the caches to become un-usable. We extract cache-cleanup into a separate function, which will clear the caches and additionally also destroy the cache locks. The original cache-clear function will do only clearing of the caches. Change-Id: I531cf293be093f31a0a3d89db67808286c5a6a49 Signed-off-by: Dipit Grover <dipit@google.com> --- M src/idmapper/idmapper.c M src/idmapper/idmapper_cache.c M src/include/idmapper.h 3 files changed, 11 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/37/1176637/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1176637?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: I531cf293be093f31a0a3d89db67808286c5a6a49 Gerrit-Change-Number: 1176637 Gerrit-PatchSet: 1 Gerrit-Owner: Dipit Grover <dipitgrover@gmail.com>