Gaurav has uploaded this change for review.

View Change

Convert mdc_exp_lock to mutex.
mdc_clean_entry uses this lock as rwlock, so better to convert it mutex.
Other places where its used ad rdlock are rare like mdcache_unexport/umount.

Change-Id: If0e72705c1a068394191ba0178457def03ee459b
Signed-off-by: Gaurav Gangalwar <gaurav.gangalwar@nutanix.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_main.c
4 files changed, 17 insertions(+), 17 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/62/1197962/1

To view, visit change 1197962. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If0e72705c1a068394191ba0178457def03ee459b
Gerrit-Change-Number: 1197962
Gerrit-PatchSet: 1
Gerrit-Owner: Gaurav <gaurav.gangalwar@gmail.com>