From a2d4aba02d3030ed97bfcea415e1f6d8bf581040 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Sat, 4 Jun 2016 11:16:48 +0800 Subject: [PATCH] bluestore/BitAllocator: use debug_assert instead of assert Signed-off-by: xie xingguo --- src/os/bluestore/BitAllocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/BitAllocator.cc b/src/os/bluestore/BitAllocator.cc index d87cf9c5b9f9c..61c8d3ee09815 100644 --- a/src/os/bluestore/BitAllocator.cc +++ b/src/os/bluestore/BitAllocator.cc @@ -971,7 +971,7 @@ void BitMapAreaIN::set_blocks_used_int(int64_t start_block, int64_t num_blocks) int64_t blks = num_blocks; int64_t start_blk = start_block; - assert(start_block >= 0); + debug_assert(start_block >= 0); while (blks) { child = (BitMapArea *) m_child_list->get_nth_item( -- 2.39.5