Change in ...nfs-ganesha[next]: Fix double export ref with set_op_context_export calls
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504037 ) Change subject: Fix double export ref with set_op_context_export calls ...................................................................... Fix double export ref with set_op_context_export calls Several invocations of set_op_context_export assume it's a function not a macro and have a "parameter" with side effects that must only occur once. Use a local variable inside the macro to assure these side effects only occur once. Change-Id: I583cbbbcd633ecc6c17982bf55be0c6f3661641b Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/include/fsal.h 1 file changed, 5 insertions(+), 2 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/37/504037/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504037 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I583cbbbcd633ecc6c17982bf55be0c6f3661641b Gerrit-Change-Number: 504037 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com> Gerrit-MessageType: newchange
participants (1)
-
Frank Filz (GerritHub)