Merge branch 'linus' into x86/mm
[firefly-linux-kernel-4.4.55.git] / fs / nilfs2 / bmap.c
index f4a14ea2ed9c3d17f269260affcb82947109ed46..effdbdbe6c117208624c0f03c069d3212fb61e2c 100644 (file)
@@ -417,8 +417,8 @@ __u64 nilfs_bmap_data_get_key(const struct nilfs_bmap *bmap,
 
        key = page_index(bh->b_page) << (PAGE_CACHE_SHIFT -
                                         bmap->b_inode->i_blkbits);
-       for (pbh = page_buffers(bh->b_page); pbh != bh;
-            pbh = pbh->b_this_page, key++);
+       for (pbh = page_buffers(bh->b_page); pbh != bh; pbh = pbh->b_this_page)
+               key++;
 
        return key;
 }