From: Kefu Chai Date: Tue, 30 Jul 2019 11:43:10 +0000 (+0800) Subject: crimson/osd: do not return "void" X-Git-Tag: v15.1.0~1909^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f95c69d0df9826366f37ad00ec98584801c1fe76;p=ceph.git crimson/osd: do not return "void" to avoid potential confusions. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index b64f5f0dfb88..4c6116f81bba 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -268,7 +268,7 @@ void PG::do_peering_event( { if (!peering_state.pg_has_reset_since(evt.get_epoch_requested())) { logger().debug("{} handling {}", __func__, evt.get_desc()); - return do_peering_event(evt.get_event(), rctx); + do_peering_event(evt.get_event(), rctx); } else { logger().debug("{} ignoring {} -- pg has reset", __func__, evt.get_desc()); }