]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: move '}' to the proper place 27204/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 27 Mar 2019 01:28:56 +0000 (09:28 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 27 Mar 2019 01:28:56 +0000 (09:28 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc

index 4859fc04b0d49717e4e2a125f9ebec8fbc754616..0264b526ecd3386ee9ff03ba2505816158c23356 100644 (file)
@@ -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))