prabhu.murugeshan(a)ibm.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/541176 )
Change subject: STATE: Fix ganesha crash at nlm4_unlock() in blocked lock req
......................................................................
STATE: Fix ganesha crash at nlm4_unlock() in blocked lock req
When a blocked lock is granted, we need to take ref of file
handle obj if the lock list is empty. The ref will be released
in unlock() if the lock list is empty. This will fix possible
crash in blocked lock request. With out this fix, the ganesha
will crash at nlm4_unlock() if a lock is granted to client after
lock conflict and the file is removed by another thread from
same client.
Change-Id: Idaee9e85574969de089950fac3e50ae736a170de
Signed-off-by: Prabhu Murugesan <prabhu.murugeshan(a)ibm.com>
---
M src/SAL/state_lock.c
1 file changed, 25 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/76/541176/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/541176
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: Idaee9e85574969de089950fac3e50ae736a170de
Gerrit-Change-Number: 541176
Gerrit-PatchSet: 1
Gerrit-Owner: prabhu.murugeshan(a)ibm.com
Gerrit-MessageType: newchange