]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: do not put() in scrub() if pg is deleting
authorSamuel Just <sam.just@inktank.com>
Thu, 18 Apr 2013 00:14:07 +0000 (17:14 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 19 Apr 2013 18:00:21 +0000 (11:00 -0700)
scrub() no longer handles the put, this call
must have been missed.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index f21882966dab0fc25c90ea7543978b1302a87a85..3a0aa23c37df5924c1a2640ba6e350fb244b022f 100644 (file)
@@ -3689,7 +3689,6 @@ void PG::scrub()
   lock();
   if (deleting) {
     unlock();
-    put();
     return;
   }