roybabayov@gmail.com has uploaded this change for review.

View Change

fix monitoring lib loading multiple times

Before this fix the library would have loaded multiple
times - from ganesha.nfsd and libganesha_nfsd.
This resulted in multiple instances of the dynamic_metrics.
Can see more info on https://github.com/nfs-ganesha/nfs-ganesha/issues/1252

This commit fixes the issue so the library will only load once in ganesha.
The fix is similar to one already added in libntirpc in
https://github.com/nfs-ganesha/ntirpc/pull/341

Change-Id: I62c3dff7e2b80b3600fae58d4498e44f6b250240
Signed-off-by: Roy Babayov <roybabayov@google.com>
---
M src/libntirpc
M src/monitoring/CMakeLists.txt
2 files changed, 2 insertions(+), 2 deletions(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I62c3dff7e2b80b3600fae58d4498e44f6b250240
Gerrit-Change-Number: 1211833
Gerrit-PatchSet: 1
Gerrit-Owner: roybabayov@gmail.com