Zhitao Li has uploaded this change for review.

View Change

fix(lock): unlock fsal even though state_hdl.lock_list is empty

This commit fix the bug in some corner case where we fail to
unlock from fsal and have removed the record from
state_hdl.lock_list, retries of unlock will never call FSAL unlock
again, and no one can acquire the lock anymore.

Change-Id: I1b5cf60cdc91dda6122d9af7c029143ab16b8112
Signed-off-by: zhitaoli <zhitao.li@iomesh.com>
---
M src/SAL/state_lock.c
1 file changed, 2 insertions(+), 3 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I1b5cf60cdc91dda6122d9af7c029143ab16b8112
Gerrit-Change-Number: 1208761
Gerrit-PatchSet: 1
Gerrit-Owner: Zhitao Li <zhitao.li@iomesh.com>