Frank Filz has uploaded this change for review.
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 change 1201234. To unsubscribe, or for help writing mail filters, visit settings.