mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
ceph_objectstore_tool.cc: reduce scope of variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
a58446c41a
commit
78542f9a90
@ -358,11 +358,10 @@ struct action_on_object_t {
|
||||
int _action_on_all_objects_in_pg(ObjectStore *store, coll_t coll, action_on_object_t &action, bool debug)
|
||||
{
|
||||
unsigned LIST_AT_A_TIME = 100;
|
||||
int r;
|
||||
ghobject_t next;
|
||||
while (!next.is_max()) {
|
||||
vector<ghobject_t> list;
|
||||
r = store->collection_list_partial(
|
||||
int r = store->collection_list_partial(
|
||||
coll,
|
||||
next,
|
||||
LIST_AT_A_TIME,
|
||||
|
Loading…
Reference in New Issue
Block a user