From: Matt Benjamin Date: Sat, 19 Dec 2015 23:32:05 +0000 (-0500) Subject: librgw: move ObjUnref trace print ahead of...unref X-Git-Tag: v10.1.0~382^2~86 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=eaf156397ae5ef1e58c8087990a4d1ac6791b2ff;p=ceph.git librgw: move ObjUnref trace print ahead of...unref Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_file.h b/src/rgw/rgw_file.h index 4478bd5febc5..35eaa9f0acc5 100644 --- a/src/rgw/rgw_file.h +++ b/src/rgw/rgw_file.h @@ -673,13 +673,12 @@ namespace rgw { public: ObjUnref(RGWLibFS* fs) : fs(fs) {} void operator()(RGWFileHandle* fh) const { - fs->fh_lru.unref(fh, cohort::lru::FLAG_NONE); - lsubdout(fs->get_context(), rgw, 5) << __func__ << fh->name - << " refs=" << fh->get_refcnt() + << " before ObjUnref refs=" << fh->get_refcnt() << dendl; + fs->fh_lru.unref(fh, cohort::lru::FLAG_NONE); } };