[S] Change in ...nfs-ganesha[next]: Fix: Prevent releasing uninitialized op_context in LAYOUTRETURN
ofir vainshtein has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1238445?usp=email ) Change subject: Fix: Prevent releasing uninitialized op_context in LAYOUTRETURN ...................................................................... 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 https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1238445?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Idef7164578e0febd1296650d4df68ead6570f765 Gerrit-Change-Number: 1238445 Gerrit-PatchSet: 1 Gerrit-Owner: ofir vainshtein <ofirvins@google.com>
participants (1)
-
ofir vainshtein (GerritHub)