Gaurav has uploaded this change for review.

View Change

state_del could set state->state_export to NULL
Check and prevent for delete state while accessing it.
state_mutex should be destroyed by dec_state_t_ref,
so should be valid even after state_del.

Signed-off-by: Gaurav Gangalwar <gaurav.gangalwar@nutanix.com>
Change-Id: I549855f5b281d8b1b9a8d839b0ee7be268a6bc8c
---
M src/SAL/nfs4_state.c
1 file changed, 20 insertions(+), 3 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I549855f5b281d8b1b9a8d839b0ee7be268a6bc8c
Gerrit-Change-Number: 539537
Gerrit-PatchSet: 1
Gerrit-Owner: Gaurav <gaurav.gangalwar@gmail.com>
Gerrit-MessageType: newchange