diff --git a/src/os/bluestore/BitAllocator.cc b/src/os/bluestore/BitAllocator.cc index 63c3de86c59..d87cf9c5b9f 100644 --- a/src/os/bluestore/BitAllocator.cc +++ b/src/os/bluestore/BitAllocator.cc @@ -843,8 +843,6 @@ bool BitMapAreaIN::is_allocated(int64_t start_block, int64_t num_blocks) return true; } - assert(start_block >= 0); - while (num_blocks) { area = (BitMapArea *) m_child_list->get_nth_item( start_block / m_child_size_blocks); @@ -1015,8 +1013,6 @@ void BitMapAreaIN::free_blocks_int(int64_t start_block, int64_t num_blocks) return; } - assert(start_block >= 0); - while (num_blocks) { child = (BitMapArea *) m_child_list->get_nth_item( start_block / m_child_size_blocks); @@ -1187,8 +1183,6 @@ void BitMapAreaLeaf::free_blocks_int(int64_t start_block, int64_t num_blocks) return; } - assert(start_block >= 0); - while (num_blocks) { child = (BitMapArea *) m_child_list->get_nth_item( start_block / m_child_size_blocks);