diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 0d3d4801309..265df0f1e85 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -5441,6 +5441,7 @@ int BlueStore::collection_list( if (start == ghobject_t::get_max() || start.hobj.is_max()) { + *pnext = ghobject_t::get_max(); goto out; } get_coll_key_range(c->cid, c->cnode.bits, &temp_start_key, &temp_end_key,