From: Samuel Just Date: Tue, 3 Jul 2012 20:58:56 +0000 (-0700) Subject: OSD,PG::scrub() move pg->put() into queue process X-Git-Tag: v0.50~109^2~2^2~77 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18fec69aaee04ffddf2af042a01a2e1faa9ed969;p=ceph.git OSD,PG::scrub() move pg->put() into queue process This clarifies ownership of the pg reference. Signed-off-by: Samuel Just --- diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 1c3df1819c4c..e1170292828b 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -880,6 +880,7 @@ protected: } void _process(PG *pg) { pg->scrub(); + pg->put(); } void _clear() { while (!osd->scrub_queue.empty()) {