Matthew DeVore has uploaded this change for review.

View Change

FSAL_MEM: remove redundant wrlock acquire

This function is only ever called after a rwlock is acquired by
fsal_reopen_obj at src/FSAL/commonlib.c:2756. In mem_close_func, use the
same implementation pattern as used in e.g. glusterfs_close_func and
other _close_func's.

This avoids a fatal EDEADLK from occuring in the st_write.testStateidOne
test in pynfs. This is necessary but not sufficient to get FSAL_MEM
passing in pynfs.

Change-Id: I65c45aafdfd86b4ba9d1e87901b7a3f74df9f034
Signed-off-by: Matthew DeVore <matvore@google.com>
---
M src/FSAL/FSAL_MEM/mem_handle.c
M src/FSAL/commonlib.c
2 files changed, 8 insertions(+), 11 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I65c45aafdfd86b4ba9d1e87901b7a3f74df9f034
Gerrit-Change-Number: 504056
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew DeVore <matvore@google.com>
Gerrit-MessageType: newchange