Zhitao Li has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1208761?usp=email )
Change subject: fix(lock): unlock fsal even though state_hdl.lock_list is empty
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1208761?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
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(a)iomesh.com>