[S] Change in ...nfs-ganesha[next]: Fix gRPC build for two-arg gsh_free and C++ linkage of mem stats
Suhas Athani has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245251?usp=email ) Change subject: Fix gRPC build for two-arg gsh_free and C++ linkage of mem stats ...................................................................... Fix gRPC build for two-arg gsh_free and C++ linkage of mem stats - Pass `MEM_COMP_CONFIG` to `gsh_free` in `nfsServiceServer.cc` (AddExport/UpdateExport), matching `export_mgr.c` and the updated `gsh_free(p, comp)` API. - Move `gsh_mem_stats_update_alloc` / `gsh_mem_stats_update_free` declarations inside the `extern "C"` block in `abstract_mem.h` so C++ callers link against the C symbols instead of mangled names. Change-Id: Ic35d254957755caa5b2d10490857215fbdb7f2f1 Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com> --- M src/grpc_server/nfsServiceServer.cc M src/include/abstract_mem.h 2 files changed, 8 insertions(+), 9 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/51/1245251/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1245251?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: Ic35d254957755caa5b2d10490857215fbdb7f2f1 Gerrit-Change-Number: 1245251 Gerrit-PatchSet: 1 Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>
participants (1)
-
Suhas Athani (GerritHub)