]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/xio: do not reference g_conf and g_ceph_context
authorKefu Chai <kchai@redhat.com>
Thu, 26 Feb 2015 04:40:28 +0000 (12:40 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Feb 2015 02:50:05 +0000 (10:50 +0800)
commit652e85445d42fe75ae253befcad9546c5149e66b
tree44a1342b3b39b1bcaaec657d9df665dc2c01dfc1
parent2d2f37d13877551ea43186a7ffcb27f899cb3bc6
msg/xio: do not reference g_conf and g_ceph_context

* otherwise librados and libcephfs will have dependencies
  on these global variables. because they enclose libmsg
  in them.
* replace `derr` with ldout(cct,0)

Fixes: #10735
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/xio/XioConnection.cc
src/msg/xio/XioMessenger.cc