Sachin Punadikar has uploaded this change for review.

View Change

cih_set_latched should handle key exists scenario

"avltree_insert" returns existing node in case the key already exists
in the avltree, else retuns NULL. "cih_set_latched" should handle key
exists scenario and return proper return value.

Change-Id: I3961091cff52f8f3c15c5b01284fb1c40077e2a8
Signed-off-by: Sachin Punadikar <psachin@in.ibm.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_hash.h
1 file changed, 5 insertions(+), 1 deletion(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/98/461998/1

To view, visit change 461998. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I3961091cff52f8f3c15c5b01284fb1c40077e2a8
Gerrit-Change-Number: 461998
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <psachin@in.ibm.com>
Gerrit-MessageType: newchange