]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/MDCache.cc: prefer prefix ++operator for iterators
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 18 Mar 2013 13:25:55 +0000 (14:25 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 18 Mar 2013 13:25:55 +0000 (14:25 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/mds/MDCache.cc

index e085ab6c998a16db17181899ef9bb18b49f1e119..0b7a7f41477e8bb2b19d721637235c46d10199e4 100644 (file)
@@ -8456,7 +8456,7 @@ void MDCache::_purge_forwarding_pointers(inode_backtrace_t *backtrace, CDentry *
   // remove all the objects with forwarding pointer backtraces (aka sentinels)
   for (set<int64_t>::const_iterator i = backtrace->old_pools.begin();
        i != backtrace->old_pools.end();
-       i++) {
+       ++i) {
     SnapContext snapc;
     object_t oid = CInode::get_object_name(backtrace->ino, frag_t(), "");
     object_locator_t oloc(*i);