Suhas Athani has uploaded this change for review.

View Change

Fix USE_DBUS=OFF build

- Guard mem_stats_status_message() with USE_DBUS in
server_stats.c. It was always compiled but only called from the
D-Bus GetMemoryStatsStatus handler.

- Move client_is_connected() out of the USE_DBUS block in
client_mgr.c. gRPC ShowClients (grpc_show_fill_cb) also needs
it, with D-Bus off that produced build error.

Change-Id: I0634576fb85f3b6b7be7b340a63e08de7ce3d077
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/support/client_mgr.c
M src/support/server_stats.c
2 files changed, 39 insertions(+), 39 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/24/1248324/1

To view, visit change 1248324. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I0634576fb85f3b6b7be7b340a63e08de7ce3d077
Gerrit-Change-Number: 1248324
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>