Silence cppcheck warning about std::remove, clarify the
used remove() function from RGWGC.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
remove_tags.push_back(info.tag);
#define MAX_REMOVE_CHUNK 16
if (remove_tags.size() > MAX_REMOVE_CHUNK) {
- remove(index, remove_tags);
+ RGWGC::remove(index, remove_tags);
remove_tags.clear();
}
}
done:
if (!remove_tags.empty())
- remove(index, remove_tags);
+ RGWGC::remove(index, remove_tags);
l.unlock(&store->gc_pool_ctx, obj_names[index]);
delete ctx;
return 0;