]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: move '}' to the proper place 27220/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 27 Mar 2019 01:28:56 +0000 (09:28 +0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 1 Apr 2019 14:58:23 +0000 (07:58 -0700)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 0fb951963ff9d03a592bad0d4442049603195e25)

src/osd/PG.cc

index b53427aead698faefde6218d3316f2d51c17d4f8..dbe86cacb8a595b80021d9dc9e6582ae78ea27b8 100644 (file)
@@ -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))