Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201234?usp=email ) Change subject: MDCACHE: Fix Coverity CID 502123 - fix lock inversion ...................................................................... MDCACHE: Fix Coverity CID 502123 - fix lock inversion Instead of doing the mdcache_dirent_invalidate_all in mdcache_refresh_attrs with the attr_lock held, pass the need for invalidate out to the one caller who needs it, who will take the content_lock and call mdcache_dirent_invalidate_all after dropping the attr_lock. Change-Id: I33d24bf4a69dab0de75f34ddd84dc3fcd80af4c2 Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h 2 files changed, 19 insertions(+), 11 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/34/1201234/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1201234?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: I33d24bf4a69dab0de75f34ddd84dc3fcd80af4c2 Gerrit-Change-Number: 1201234 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>