Daniel Gryniewicz has uploaded this change for review.

View Change

Fix op_ctx handling for async FSALs

When we suspend a request, we cannot touch the contents of op_ctx,
because the callback may have already run, and may have freed the
request (and therefore the op_ctx). All we can do is NULL out op_ctx,
so that future calls don't get a save_op_ctx set wrongly.

Change-Id: I139f68032bfe3233e13b96c8e5bf544258681a68
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
---
M src/FSAL/commonlib.c
M src/MainNFSD/nfs_worker_thread.c
M src/Protocols/NFS/nfs4_Compound.c
3 files changed, 11 insertions(+), 4 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I139f68032bfe3233e13b96c8e5bf544258681a68
Gerrit-Change-Number: 508819
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Gryniewicz <dang@redhat.com>
Gerrit-MessageType: newchange