From: Jianpeng Ma Date: Fri, 17 Nov 2017 11:21:59 +0000 (+0800) Subject: os/bluestore: using ghobject_t::is_max to judge. X-Git-Tag: v13.0.1~161^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d681562bb7b020a7413319b7c9cd2b210a170014;p=ceph-ci.git os/bluestore: using ghobject_t::is_max to judge. Signed-off-by: Jianpeng Ma --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index d786af3cb3a..79b4e20cd02 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -7213,8 +7213,7 @@ int BlueStore::_collection_list( if (!pnext) pnext = &static_next; - if (start == ghobject_t::get_max() || - start.hobj.is_max()) { + if (start.is_max() || start.hobj.is_max()) { goto out; } get_coll_key_range(c->cid, c->cnode.bits, &temp_start_key, &temp_end_key,