]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMonitor: mark dump_object_stat_sum() as static
authorKefu Chai <kchai@redhat.com>
Sat, 6 Aug 2016 16:58:04 +0000 (00:58 +0800)
committerNathan Cutler <ncutler@suse.com>
Sat, 12 Nov 2016 10:58:13 +0000 (11:58 +0100)
commitd62258c03492fca5fca99650cc7514348251cb7b
tree55803f4fad8f61b4fabdc57ae64d01a93bdc7f7c
parentf776699fd00ff5f0deea15ec4f2efb991831b055
mon/PGMonitor: mark dump_object_stat_sum() as static

so we can test this method without create an instance of PGMonitor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit af3d3e25823ca9b40ddf09835edb82795ac68f33)

Conflicts:
src/mon/PGMonitor.cc ("const" suffix of function definition was removed
            in master, but in hammer it wasn't there, so no change necessary)
src/mon/PGMonitor.h (added static prefix to function declaration; did
            not remove "const" suffix because it wasn't there in hammer)
src/mon/PGMonitor.h