Suhas Athani has uploaded this change for review.

View Change

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 change 1245251. To unsubscribe, or for help writing mail filters, visit settings.

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>