mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
mds/Migrator.cc: prefer prefix ++operator for iterator
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
dd19d693e6
commit
07be36c92b
@ -2129,7 +2129,7 @@ void Migrator::import_notify_finish(CDir *dir, set<CDir*>& bounds)
|
||||
new MExportDirNotify(dir->dirfrag(), false,
|
||||
pair<int,int>(import_peer[dir->dirfrag()], mds->get_nodeid()),
|
||||
pair<int,int>(mds->get_nodeid(), CDIR_AUTH_UNKNOWN));
|
||||
for (set<CDir*>::iterator i = bounds.begin(); i != bounds.end(); i++)
|
||||
for (set<CDir*>::iterator i = bounds.begin(); i != bounds.end(); ++i)
|
||||
notify->get_bounds().push_back((*i)->dirfrag());
|
||||
mds->send_message_mds(notify, *p);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user