From: Sage Weil Date: Mon, 6 Jun 2016 15:15:54 +0000 (-0400) Subject: Revert "hammer: Scrub error: 0/1 pinned" X-Git-Tag: v0.94.8~52^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9521%2Fhead;p=ceph.git Revert "hammer: Scrub error: 0/1 pinned" --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 352918c20d886..e846938610abc 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -5230,9 +5230,6 @@ inline int ReplicatedPG::_delete_oid(OpContext *ctx, bool no_whiteout) dout(20) << __func__ << " deleting whiteout on " << soid << dendl; ctx->delta_stats.num_whiteouts--; } - if (oi.is_cache_pinned()) { - ctx->delta_stats.num_objects_pinned--; - } if (soid.is_head()) snapset.head_exists = false; obs.exists = false;