From: Sage Weil Date: Fri, 20 May 2011 22:04:57 +0000 (-0700) Subject: osd: small cleanup X-Git-Tag: v0.28.1~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c22aca1f9936ff26ad856f0c20f526a4afedf8ce;p=ceph.git osd: small cleanup Signed-off-by: Sage Weil --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index f564d2dda84..087c8e2bf65 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -4187,7 +4187,6 @@ void OSD::handle_pg_info(MOSDPGInfo *m) C_Contexts *fin = 0; PG *pg = get_or_create_pg(*p, m->get_epoch(), from, created, false, &t, &fin); - PG::RecoveryCtx rctx(0, &info_map, 0, &fin->contexts, t); if (!pg) continue; @@ -4197,6 +4196,8 @@ void OSD::handle_pg_info(MOSDPGInfo *m) continue; } + PG::RecoveryCtx rctx(0, &info_map, 0, &fin->contexts, t); + pg->handle_info(from, *p, &rctx); int tr = store->queue_transaction(&pg->osr, t, new ObjectStore::C_DeleteTransaction(t), fin);