]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cleanup: state_name in NamedState init list 570/head
authorRoald J. van Loon <roaldvanloon@gmail.com>
Sat, 7 Sep 2013 09:15:00 +0000 (11:15 +0200)
committerRoald J. van Loon <roaldvanloon@gmail.com>
Sat, 7 Sep 2013 09:15:00 +0000 (11:15 +0200)
commit55a527142c9e57bd2f52e8d9f740e4df43d329c7
treed83284f496738eb405780c6e056fad9229ea56d3
parentc3529ed0041d004a0b1e05ddf02231c011935feb
cleanup: state_name in NamedState init list

Added const char *state_name to the NamedState initializer list. This
correctly enforces a state name.

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc