]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "hammer: Scrub error: 0/1 pinned" 9521/head
authorSage Weil <sage@redhat.com>
Mon, 6 Jun 2016 15:15:54 +0000 (11:15 -0400)
committerSage Weil <sage@redhat.com>
Mon, 6 Jun 2016 15:15:54 +0000 (11:15 -0400)
src/osd/ReplicatedPG.cc

index 352918c20d886d5f8625d895ba2d36b0b642dac8..e846938610abc7e063da91b618140838c2fee947 100644 (file)
@@ -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;