bluestore: set next object as ghobject_t::get_max() when start.hobj.is_max()

Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Xinze Chi <xinze@xsky.com>
This commit is contained in:
Haomai Wang 2016-10-14 22:17:22 +08:00
parent f32bb09322
commit ddb378de22

View File

@ -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,