Change in ...nfs-ganesha[next]: Fix NLM owner refcount leak in state_lock()
Malahal has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/451515 Change subject: Fix NLM owner refcount leak in state_lock() ...................................................................... Fix NLM owner refcount leak in state_lock() We copy conflict for blocking and non-blocking locks in state_lock(). We do send STATE_LOCK_CONFLICT for non-blocking calls where the caller releases the hold on the owner. We send STATE_LOCK_BLOCKED for blocked locks, so we need to release the hold in state_lock() itself. Change-Id: I7eb7c7a72d9f748f97573327ef6f17406a16b494 Signed-off-by: Malahal Naineni <malahal@us.ibm.com> --- M src/SAL/state_lock.c 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/451515/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/451515 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I7eb7c7a72d9f748f97573327ef6f17406a16b494 Gerrit-Change-Number: 451515 Gerrit-PatchSet: 1 Gerrit-Owner: Malahal <malahal@gmail.com> Gerrit-MessageType: newchange
participants (1)
-
Malahal (GerritHub)