mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
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:
commit
496ffbab22
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user