From 006ea56f603e160c83c8b1fe35ee8022321bf3b2 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 6 Jun 2016 11:15:54 -0400 Subject: [PATCH] Revert "hammer: Scrub error: 0/1 pinned" --- src/osd/ReplicatedPG.cc | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.5