Madhu Thorat has uploaded this change for review.

View Change

Set no_cleanup at miscellaneous places under state_lock

After taking state_lock set no_cleanup=true, to avoid
abort(crash) in state_wipe_file() when put_ref() is
called in following code paths:
1. state_nlm_share() -> fsal_reopen2() (in case of ESTALE)
2. state_unlock() (in case lock_list becomes empty)
3. state_deleg->conflict() -> state_deleg->conflict_impl()
-> async_delegrecall()

Change-Id: I857bff12497f3991f058d96d81e34c810dab6661
Signed-off-by: Madhu Thorat <madhu.punjabi@in.ibm.com>
---
M src/SAL/state_deleg.c
M src/SAL/state_lock.c
M src/SAL/state_share.c
3 files changed, 13 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I857bff12497f3991f058d96d81e34c810dab6661
Gerrit-Change-Number: 489962
Gerrit-PatchSet: 1
Gerrit-Owner: Madhu Thorat <madhu.punjabi@in.ibm.com>
Gerrit-MessageType: newchange