ofir vainshtein has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1234083?usp=email )
Change subject: Fix state object deletion during owner purge in NFSv4 lock handling.
......................................................................
Fix state object deletion during owner purge in NFSv4 lock handling.
The `state_nfs4_owner_unlock_all` function now deletes the state
object if `state_unlock` returns any non-error status, not just `STATE_SUCCESS`.
This prevents state leaks when `state_unlock` returns other acceptable statuses.
Change-Id: I3bf6011f5a1a94416ed98bffdd6a41f72bfdee75
Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com>
---
M src/SAL/state_lock.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/83/1234083/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1234083?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: I3bf6011f5a1a94416ed98bffdd6a41f72bfdee75
Gerrit-Change-Number: 1234083
Gerrit-PatchSet: 1
Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>