]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop unused from arg from handle_pg_peering_evt
authorSage Weil <sage@redhat.com>
Wed, 9 Mar 2016 22:08:11 +0000 (17:08 -0500)
committerSage Weil <sage@redhat.com>
Wed, 9 Mar 2016 22:08:11 +0000 (17:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h

index 6ec0e7b65e5ac6f94454a8f109c515b61e5acb21..48c9decdd7e4acb44c0752b95b7b7b228e1a6263 100644 (file)
@@ -3329,7 +3329,6 @@ void OSD::handle_pg_peering_evt(
   const pg_history_t& orig_history,
   pg_interval_map_t& pi,
   epoch_t epoch,
-  pg_shard_t from,
   bool primary,
   PG::CephPeeringEvtRef evt)
 {
@@ -7594,7 +7593,8 @@ void OSD::handle_pg_notify(OpRequestRef op)
     handle_pg_peering_evt(
       spg_t(it->first.info.pgid.pgid, it->first.to),
       it->first.info.history, it->second,
-      it->first.query_epoch, pg_shard_t(from, it->first.from), true,
+      it->first.query_epoch,
+      true,
       PG::CephPeeringEvtRef(
        new PG::CephPeeringEvt(
          it->first.epoch_sent, it->first.query_epoch,
@@ -7626,7 +7626,7 @@ void OSD::handle_pg_log(OpRequestRef op)
   handle_pg_peering_evt(
     spg_t(m->info.pgid.pgid, m->to),
     m->info.history, m->past_intervals, m->get_epoch(),
-    pg_shard_t(from, m->from), false,
+    false,
     PG::CephPeeringEvtRef(
       new PG::CephPeeringEvt(
        m->get_epoch(), m->get_query_epoch(),
@@ -7660,7 +7660,7 @@ void OSD::handle_pg_info(OpRequestRef op)
     handle_pg_peering_evt(
       spg_t(p->first.info.pgid.pgid, p->first.to),
       p->first.info.history, p->second, p->first.epoch_sent,
-      pg_shard_t(from, p->first.from), false,
+      false,
       PG::CephPeeringEvtRef(
        new PG::CephPeeringEvt(
          p->first.epoch_sent, p->first.query_epoch,
index 4ba54f491de47d02d9bfd12a9e7bca884e6d4fd1..58330d74aa6f2b26cebc2b8335de70eba4f3004f 100644 (file)
@@ -1942,7 +1942,6 @@ protected:
     const pg_history_t& orig_history,
     pg_interval_map_t& pi,
     epoch_t epoch,
-    pg_shard_t from,
     bool primary,
     PG::CephPeeringEvtRef evt);