From: Li Wang
Date: Fri, 30 Dec 2016 14:01:17 +0000 (+0000)
Subject: os/bluestore/BitAllocator.cc: fix uninitialized member
X-Git-Tag: v12.0.0~249^2~4
X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=387ad76b5e84175d0e053b138408cea3fc399e10;p=ceph.git
os/bluestore/BitAllocator.cc: fix uninitialized member
Silence Coverity 1398204
Signed-off-by: Li Wang
---
diff --git a/src/os/bluestore/BitAllocator.cc b/src/os/bluestore/BitAllocator.cc
index d7ed7de9c22..409565953a3 100644
--- a/src/os/bluestore/BitAllocator.cc
+++ b/src/os/bluestore/BitAllocator.cc
@@ -740,7 +740,7 @@ bmap_area_type_t BitMapArea::get_type()
* BitMapArea Leaf and Internal
*/
BitMapAreaIN::BitMapAreaIN(CephContext* cct)
- : BitMapArea(cct)
+ : BitMapArea(cct), m_child_list(nullptr)
{
// nothing
}