diff options
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 16a67359b4c7..7bccdf32a32c 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -3584,8 +3584,7 @@ make_io: | |||
3584 | b = table; | 3584 | b = table; |
3585 | end = b + EXT4_SB(sb)->s_inode_readahead_blks; | 3585 | end = b + EXT4_SB(sb)->s_inode_readahead_blks; |
3586 | num = EXT4_INODES_PER_GROUP(sb); | 3586 | num = EXT4_INODES_PER_GROUP(sb); |
3587 | if (EXT4_HAS_RO_COMPAT_FEATURE(sb, | 3587 | if (ext4_has_group_desc_csum(sb)) |
3588 | EXT4_FEATURE_RO_COMPAT_GDT_CSUM)) | ||
3589 | num -= ext4_itable_unused_count(sb, gdp); | 3588 | num -= ext4_itable_unused_count(sb, gdp); |
3590 | table += num / inodes_per_block; | 3589 | table += num / inodes_per_block; |
3591 | if (end > table) | 3590 | if (end > table) |