summaryrefslogtreecommitdiffstats
path: root/src/tools/ceph_objectstore_tool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ceph_objectstore_tool.cc')
-rw-r--r--src/tools/ceph_objectstore_tool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ceph_objectstore_tool.cc b/src/tools/ceph_objectstore_tool.cc
index 01c8722b4..27ac1cff9 100644
--- a/src/tools/ceph_objectstore_tool.cc
+++ b/src/tools/ceph_objectstore_tool.cc
@@ -105,7 +105,7 @@ int _action_on_all_objects_in_pg(ObjectStore *store, coll_t coll, action_on_obje
obj != list.end();
++obj) {
object_info_t oi;
- if (coll != coll_t::meta()) {
+ if (coll != coll_t::meta() && !obj->is_pgmeta()) {
bufferlist attr;
r = store->getattr(ch, *obj, OI_ATTR, attr);
if (r < 0) {