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 <danny.al-gaaf@xxxxxxxxx> --- src/osd/ReplicatedPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index e8a68fe..1645041 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -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; } -- 1.8.1 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html