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