Vinícius Ferrão has uploaded this change for review.

View Change

SAL: release only the NLM state taken through a released address (#1435)

nfs_release_nlm_state() released every lock and share of the client
host, also those taken through addresses that did not move.

Give state_nlm_notify() a server address, and release only the state
whose NLM owner came through it. SM_NOTIFY and NLM_FREE_ALL pass NULL
and release everything, as before.

Change-Id: Icc1b630df88823aed8f3621610a4bc311056a034
Signed-off-by: Vinícius Ferrão <ferrao@versatushpc.com.br>
---
M src/Protocols/NLM/nlm_Free_All.c
M src/Protocols/NLM/nlm_Sm_Notify.c
M src/Protocols/NLM/nsm.c
M src/SAL/nfs4_recovery.c
M src/SAL/state_lock.c
M src/include/sal_functions.h
6 files changed, 45 insertions(+), 10 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Icc1b630df88823aed8f3621610a4bc311056a034
Gerrit-Change-Number: 1257400
Gerrit-PatchSet: 1
Gerrit-Owner: Vinícius Ferrão <vinicius@ferrao.net.br>