From: Willem Jan Withagen Date: Thu, 18 Jan 2018 10:46:01 +0000 (+0100) Subject: common: change routines to public access X-Git-Tag: v13.0.2~498^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20003%2Fhead;p=ceph.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 d5aad8f00086..4bdd0fd3a1a2 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)