]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: improve the const correctness 36857/head
authorKefu Chai <kchai@redhat.com>
Thu, 27 Aug 2020 14:22:04 +0000 (22:22 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 31 Aug 2020 13:18:13 +0000 (21:18 +0800)
commit7054f1403df9542f0fff891655920d7f1002ddc4
treeb34de6376505f713c38e39089cb1b13d40197900
parent5de5e32beff7e4e927e2acf4deb8c7ce958085e8
crimson/osd: improve the const correctness

it should suffice to pass a `const OSD&` to the ctor of `OsdStatusHook`

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/osd_admin.cc
src/crimson/osd/osd.cc