ofir vainshtein has uploaded this change for review.
Fix: Prevent releasing uninitialized op_context in LAYOUTRETURN
The release_op_context() call in nfs4_op_layoutreturn is now conditional on whether init_op_context_simple() was actually called. This avoids attempting to release an op_context that was never initialized.
Change-Id: Idef7164578e0febd1296650d4df68ead6570f765
Signed-off-by: Ofir Vainshtein <ofirvins@google.com>
---
M src/Protocols/NFS/nfs4_op_layoutreturn.c
1 file changed, 7 insertions(+), 4 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/45/1238445/1
To view, visit change 1238445. To unsubscribe, or for help writing mail filters, visit settings.