summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2013-04-17 17:14:07 -0700
committerSamuel Just <sam.just@inktank.com>2013-04-19 11:00:21 -0700
commitce6477536700e12037a3b7eee6bb505795a9a479 (patch)
tree22c7977355dbbc719a1eeddcbd4d065d2fdcc8b4
parentb021036bde2a6427ea821145944f86ef50e7333a (diff)
downloadceph-ce6477536700e12037a3b7eee6bb505795a9a479.tar.gz
PG: do not put() in scrub() if pg is deleting
scrub() no longer handles the put, this call must have been missed. Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r--src/osd/PG.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc
index f21882966da..3a0aa23c37d 100644
--- a/src/osd/PG.cc
+++ b/src/osd/PG.cc
@@ -3689,7 +3689,6 @@ void PG::scrub()
lock();
if (deleting) {
unlock();
- put();
return;
}