Matthew DeVore has uploaded this change for review.

View Change

nfs41_session: correct lock creation/destruction

There are some missing mutex/lock creation and destruction calls. Add
the missing ones.

pthreads on macOS does not tolerate usage of r/w locks and mutexes
without initialization. This fixes that for such platforms.

Change-Id: If492246b6bb11fbb7af0fc6ae430dcfe6c31185d
Signed-off-by: Matthew DeVore <matvore@google.com>
---
M src/Protocols/NFS/nfs4_op_create_session.c
M src/SAL/nfs41_session_id.c
2 files changed, 6 insertions(+), 0 deletions(-)

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

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

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