From 0fb951963ff9d03a592bad0d4442049603195e25 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Wed, 27 Mar 2019 09:28:56 +0800 Subject: [PATCH] osd/PG: move '}' to the proper place Signed-off-by: xie xingguo --- src/osd/PG.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 4859fc04b0d4..0264b526ecd3 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5805,9 +5805,10 @@ void PG::scrub_finish() } else if (scrubber.shallow_errors || scrubber.deep_errors) { // We have errors but nothing can be fixed, so there is no repair // possible. - state_set(PG_STATE_FAILED_REPAIR); } + state_set(PG_STATE_FAILED_REPAIR); dout(10) << __func__ << " " << (scrubber.shallow_errors + scrubber.deep_errors) << " error(s) present with no repair possible" << dendl; + } } if (deep_scrub) { if ((scrubber.shallow_errors == 0) && (scrubber.deep_errors == 0)) -- 2.47.3