Merge pull request #12831 from jcsp/wip-libcephfs-refcount

libcephfs: fix cct refcount constructing from rados

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
John Spray 2017-01-13 11:55:51 +00:00 committed by GitHub
commit b24e4a2213

View File

@ -320,7 +320,6 @@ extern "C" int ceph_create_from_rados(struct ceph_mount_info **cmount,
{
auto rados = (librados::RadosClient *) cluster;
auto cct = rados->cct;
cct->get();
return ceph_create_with_context(cmount, cct);
}