Frank Filz has uploaded this change for review.

View Change

Remove state_exp from state_t

Anywhere a state is actually being used, the export should be in
op context so op_ctx->state_exp can be used instead. This avoids
any possibility that the export in the state_t is no longer a valid
pointer (NULL values have been reported).

Change-Id: I078f12348409ae25938a97354b86c51c7c229f41
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_export.c
M src/FSAL/Stackable_FSALs/FSAL_NULL/export.c
M src/Protocols/9P/9p_proto_tools.c
M src/Protocols/NFS/nfs4_op_open.c
M src/SAL/nfs4_state.c
M src/SAL/nfs4_state_id.c
M src/SAL/nlm_state.c
M src/gtest/fsal_api/test_commit2_latency.cc
M src/include/FSAL/fsal_commonlib.h
M src/include/sal_data.h
10 files changed, 29 insertions(+), 23 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I078f12348409ae25938a97354b86c51c7c229f41
Gerrit-Change-Number: 540556
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange