diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2012-07-14 20:23:39 -0300 |
---|---|---|
committer | Paulo Alcantara <pcacjr@zytor.com> | 2012-07-21 01:21:46 -0300 |
commit | f29e5273bc06150d00f1be40d78108c6fbb9b904 (patch) | |
tree | 6cfaf69a142e4edcc6475104ba91462e03ae2ad6 | |
parent | 4f9c17d3be09514be90f50a3b705fef92774acd4 (diff) | |
download | syslinux-f29e5273bc06150d00f1be40d78108c6fbb9b904.tar.gz syslinux-f29e5273bc06150d00f1be40d78108c6fbb9b904.tar.xz syslinux-f29e5273bc06150d00f1be40d78108c6fbb9b904.zip |
xfs: Make for-statement declaration more readable
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r-- | core/fs/xfs/xfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c index 85414ae6..1a6e30fe 100644 --- a/core/fs/xfs/xfs.c +++ b/core/fs/xfs/xfs.c @@ -423,7 +423,7 @@ static struct inode *xfs_iget_root(struct fs_info *fs) XFS_PVT(inode)->i_chunk_offset = 0; rec = (xfs_inobt_rec_t *)((uint8_t *)ibt_hdr + sizeof *ibt_hdr); - for (i = be16_to_cpu(ibt_hdr->bb_numrecs); i--; rec++) { + for (i = be16_to_cpu(ibt_hdr->bb_numrecs); i; i--, rec++) { xfs_debug("freecount %lu free 0x%llx", be32_to_cpu(rec->ir_freecount), be64_to_cpu(rec->ir_free)); |