Malahal has uploaded this change for review.
Do lock_list empty check under the state lock.
Two threads could execute state_release_grant() at the same time and
they both could find the list empty leading to both calling put_ref on
the object. Have the empty list check under state lock to avoid this.
Change-Id: I59f89dfed751aaa710d27857a60b497cd4c24944
Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
---
M src/SAL/state_lock.c
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/39/489939/1
To view, visit change 489939. To unsubscribe, or for help writing mail filters, visit settings.