Skip to content

Commit

Permalink
osd/OSD.cc: small cleanup. curmap will be assigned inside the follow…
Browse files Browse the repository at this point in the history
…ing loops.

    Signed-off-by: Jie Wang <jie.wang@kylin-cloud.com>
    Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
363921219 committed Nov 17, 2016
1 parent be15018 commit 3ea6df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9030,7 +9030,7 @@ void OSD::process_peering_events(
{
bool need_up_thru = false;
epoch_t same_interval_since = 0;
OSDMapRef curmap = service.get_osdmap();
OSDMapRef curmap;
PG::RecoveryCtx rctx = create_context();
rctx.handle = &handle;
for (list<PG*>::const_iterator i = pgs.begin();
Expand Down

0 comments on commit 3ea6df6

Please sign in to comment.