]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: do not use nullptr to calc the size of bluestore_pextent_t 14030/head
authorKefu Chai <kchai@redhat.com>
Sat, 18 Mar 2017 09:07:48 +0000 (17:07 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 18 Mar 2017 09:08:33 +0000 (17:08 +0800)
commit79e91733a44d25ecaac78014dbfcdbbe47ce2567
treebfb3c1ae6f35540d10e45b4f3b49c5dcbf2843c8
parent8fbc61a725ab4fd911a848b359c9dca3ec5fb1cb
os/bluestore: do not use nullptr to calc the size of bluestore_pextent_t

see also #13889, otherwise this segfaults when compiled with -O0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/bluestore_types.h