ofir vainshtein has uploaded this change for review.
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@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 change 1234083. To unsubscribe, or for help writing mail filters, visit settings.