summaryrefslogtreecommitdiffstats
path: root/src/osd/PGBackend.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/PGBackend.cc')
-rw-r--r--src/osd/PGBackend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PGBackend.cc b/src/osd/PGBackend.cc
index 319110cd0dd..64423dee1f3 100644
--- a/src/osd/PGBackend.cc
+++ b/src/osd/PGBackend.cc
@@ -109,7 +109,7 @@ int PGBackend::objects_list_partial(
// make sure the result list has the marker object (
// it might have multiple generations though, which would
// be filtered).
- ghobject_t _next(begin, 0, shard_id_t(0));
+ ghobject_t _next(begin, 0, shard_id_t::NO_SHARD);
ls->reserve(max);
int r = 0;
while (!_next.is_max() && ls->size() < (unsigned)min) {