From: xie xingguo Date: Wed, 27 Mar 2019 01:28:56 +0000 (+0800) Subject: osd/PG: move '}' to the proper place X-Git-Tag: v14.2.1~93^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f040d670226b3ffaa37fb3e8e6efe34169d38598;p=ceph.git osd/PG: move '}' to the proper place Signed-off-by: xie xingguo (cherry picked from commit 0fb951963ff9d03a592bad0d4442049603195e25) --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index b53427aead69..dbe86cacb8a5 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))