From 54c41e2c04b998942db3170f01ddcfc7d5e4e335 Mon Sep 17 00:00:00 2001 From: sageweil Date: Fri, 24 Aug 2007 19:29:53 +0000 Subject: [PATCH] bugfix in osd git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1678 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/osd/OSD.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/ceph/osd/OSD.cc b/trunk/ceph/osd/OSD.cc index 6aa1ecc429842..ea5605857300a 100644 --- a/trunk/ceph/osd/OSD.cc +++ b/trunk/ceph/osd/OSD.cc @@ -1539,7 +1539,7 @@ void OSD::handle_pg_notify(MOSDPGNotify *m) // same primary? vector acting; int nrep = osdmap->pg_to_acting_osds(pgid, acting); - int role = osdmap->calc_pg_role(whoami, pg->acting, nrep); + int role = osdmap->calc_pg_role(whoami, acting, nrep); PG::Info::History history = it->history; project_pg_history(pgid, history, m->get_epoch(), acting); -- 2.39.5