]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: init HeartbeatDispatcher using OSD->cct
authorKefu Chai <kchai@redhat.com>
Sat, 6 Feb 2016 15:35:14 +0000 (23:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Feb 2016 17:59:44 +0000 (01:59 +0800)
commit7d08bbf59526469fbc0ff35938253ea0c74ef4a1
tree754091d4863a9d12cad3bbeab2126af8800ccd5b
parent0c6a72482189d4fd34957d524d2b79c674d347b6
osd: init HeartbeatDispatcher using OSD->cct

its base class 'Dispatcher' is uninitialized when used here to access
'Dispatcher::cct', so we'd better use OSD::cct to initialize it instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.h