]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cls/rgw/cls_rgw_types.cc
import 15.2.5
[ceph.git] / ceph / src / cls / rgw / cls_rgw_types.cc
index f820003a2ff512f98fe2d10fb5191190d2ba67b5..b4753b473f7a94063be32e07bb0830bcdb773b45 100644 (file)
@@ -327,6 +327,7 @@ bool rgw_cls_bi_entry::get_info(cls_rgw_obj_key *key,
       {
         rgw_bucket_dir_entry entry;
         decode(entry, iter);
+        account = (account && entry.exists);
         *key = entry.key;
         *category = entry.meta.category;
         accounted_stats->num_entries++;