From: Sage Weil Date: Wed, 3 Apr 2019 19:47:42 +0000 (-0500) Subject: libcephfs: common_init_finish after getting monmap and config X-Git-Tag: v15.1.0~3009^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16dd435939a1532ad489ffcc230359ccf9c8898f;p=ceph.git libcephfs: common_init_finish after getting monmap and config This is how librados behaves. Signed-off-by: Sage Weil --- diff --git a/src/libcephfs.cc b/src/libcephfs.cc index 5402045a405be..6f75b2fff74e2 100755 --- a/src/libcephfs.cc +++ b/src/libcephfs.cc @@ -77,8 +77,6 @@ public: int init() { - common_init_finish(cct); - int ret; { @@ -88,6 +86,8 @@ public: return ret; } + common_init_finish(cct); + //monmap monclient = new MonClient(cct); ret = -CEPHFS_ERROR_MON_MAP_BUILD; //defined in libcephfs.h;