aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 165ff331d998..34d7e0703cc6 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4834,7 +4834,7 @@ struct inode *__ext4_iget(struct super_block *sb, unsigned long ino,
4834 gid_t i_gid; 4834 gid_t i_gid;
4835 projid_t i_projid; 4835 projid_t i_projid;
4836 4836
4837 if (((flags & EXT4_IGET_NORMAL) && 4837 if ((!(flags & EXT4_IGET_SPECIAL) &&
4838 (ino < EXT4_FIRST_INO(sb) && ino != EXT4_ROOT_INO)) || 4838 (ino < EXT4_FIRST_INO(sb) && ino != EXT4_ROOT_INO)) ||
4839 (ino < EXT4_ROOT_INO) || 4839 (ino < EXT4_ROOT_INO) ||
4840 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) { 4840 (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) {