>From Malahal <mala...@gmail.com>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/378425


Change subject: Fix looping in release_lock_owner
......................................................................

Fix looping in release_lock_owner

It is possible to have multiple states with the same owner and export.
When this happens, only the last state will exist in the ht_state_obj
hash table.

Calls to nfs4_State_Del() return false for all but the last state, and
the state is not removed from the owner's so_state_list. This causes
release_lock_owner to go into an infinite loop!

Fixed nfs4_State_Del() to return true as long as it exists in
ht_state_id hash table and we successfully remove from it.

Change-Id: If27e678d38a3df02cbd9e71873a2921e7eb46368
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/SAL/nfs4_state_id.c
1 file changed, 21 insertions(+), 13 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/25/378425/1
-- 
To view, visit https://review.gerrithub.io/378425
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: If27e678d38a3df02cbd9e71873a2921e7eb46368
Gerrit-Change-Number: 378425
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <mala...@gmail.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to