]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: change routines to public access 20003/head
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 18 Jan 2018 10:46:01 +0000 (11:46 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Thu, 18 Jan 2018 10:46:01 +0000 (11:46 +0100)
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 <wjw@digiware.nl>
src/osd/PG.h

index d5aad8f000863d316788e6d909b3533e500a1a86..4bdd0fd3a1a2076485f3e8ebed32a7862eea0900 100644 (file)
@@ -1867,8 +1867,10 @@ protected:
 
   TrivialEvent(IntervalFlush)
 
+  public:
   TrivialEvent(DeleteStart)
   TrivialEvent(DeleteSome)
+  protected:
   TrivialEvent(DeleteReserved)
   TrivialEvent(DeleteInterrupted)