From: Willem Jan Withagen Date: Thu, 18 Jan 2018 10:46:01 +0000 (+0100) Subject: common: change routines to public access X-Git-Tag: wip-pdonnell-testing-20180317.202121~541^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b18523975956f1970dbc7f645afe3da11cc77872;p=ceph-ci.git common: change routines to public access Clang complains tafter recent changes: /home/jenkins/workspace/ceph-master/src/osd/OSD.cc:8787:8: error: 'DeleteStart' is a protected member of 'PG' PG::DeleteStart()))); ^ /home/jenkins/workspace/ceph-master/src/osd/PG.h:1870:16: note: declared protected here TrivialEvent(DeleteStart) ^ /home/jenkins/workspace/ceph-master/src/osd/OSD.cc:9136:6: error: 'DeleteSome' is a protected member of 'PG' PG::DeleteSome())), ^ /home/jenkins/workspace/ceph-master/src/osd/PG.h:1871:16: note: declared protected here TrivialEvent(DeleteSome) ^ 2 errors generated. Signed-off-by: Willem Jan Withagen --- diff --git a/src/osd/PG.h b/src/osd/PG.h index d5aad8f0008..4bdd0fd3a1a 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -1867,8 +1867,10 @@ protected: TrivialEvent(IntervalFlush) + public: TrivialEvent(DeleteStart) TrivialEvent(DeleteSome) + protected: TrivialEvent(DeleteReserved) TrivialEvent(DeleteInterrupted)