From f040d670226b3ffaa37fb3e8e6efe34169d38598 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 (cherry picked from commit 0fb951963ff9d03a592bad0d4442049603195e25) --- 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 b53427aead698..dbe86cacb8a59 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -5806,9 +5806,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.39.5