Frank Filz has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1213058?usp=email )
Change subject: NLM: use hashtable_getlatch in state_add_grant_cookie
......................................................................
NLM: use hashtable_getlatch in state_add_grant_cookie
This allows holding the latch while the cookie is established, and the
lock is taken in the back end if necessary. This should prevent a race
condition.
Change-Id: Icc4733208e1823bf77f89e0804c605b623151274
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/SAL/state_lock.c
1 file changed, 46 insertions(+), 32 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/58/1213058/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1213058?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: Icc4733208e1823bf77f89e0804c605b623151274
Gerrit-Change-Number: 1213058
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>