Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_itable.c
index f71be9c68017ea993808827918201b5eff31a833..f1deb961a296a300add3a6333eebd47619a2100c 100644 (file)
@@ -639,7 +639,8 @@ next_ag:
                xfs_buf_relse(agbp);
                agbp = NULL;
                agino = 0;
-       } while (++agno < mp->m_sb.sb_agcount);
+               agno++;
+       } while (agno < mp->m_sb.sb_agcount);
 
        if (!error) {
                if (bufidx) {