osd/ReplicatedPG.cc: fix errors in _scrub()
PATCH 1/1 osd/ReplicatedPG.cc: fix errors in _scrub()
Fix build error introduced with 5b12b514b047a8a46cc5549bd94b398289b9b5f6:
osd/ReplicatedPG.cc: In member function 'virtual void ReplicatedPG::_scrub(ScrubMap&)':
osd/ReplicatedPG.cc:7116:4: error: 'errors' was not declared in this scope
Increment scrubber.errors instead of errors.
Signed-off-by Danny Al-Gaaf <[email protected]>
--- src/osd/ReplicatedPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/osd/ReplicatedPG.cc +1 -1
@@ -7113,7 +7113,7 @@ void ReplicatedPG::_scrub(ScrubMap& scrubmap) if (head == hobject_t()) { osd->clog.error() << mode << " " << info.pgid << " " << soid << " found clone without head"; - ++errors; + ++scrubber.errors; continue; }
Signature · 1 line
1.8.1