Daniel Gryniewicz has uploaded this change for review.
MDCACHE - Hold lock while dropping ref on chunk
Dropping the ref on a chunk requires holding the content lock, and
requires holding it for write when the last ref is dropped. This ref
won't be the last, but we still have to hold the lock for at least read
to ensure another thread doesn't drop a ref making it last.
Change-Id: I1a268d4ec8de23d16be01b317c2118f3098bbefa
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/32/458832/1
To view, visit change 458832. To unsubscribe, or for help writing mail filters, visit settings.