Merge pull request #27204 from xiexingguo/wip-clean-weird-brace

osd/PG: move '}' to the proper place

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
Kefu Chai 2019-03-27 12:57:16 +08:00 committed by GitHub
commit 496ffbab22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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))