|
@@ -4803,7 +4803,7 @@ struct inode *__ext4_iget(struct super_block *sb, unsigned long ino,
|
|
|
gid_t i_gid;
|
|
gid_t i_gid;
|
|
|
projid_t i_projid;
|
|
projid_t i_projid;
|
|
|
|
|
|
|
|
- if (((flags & EXT4_IGET_NORMAL) &&
|
|
|
|
|
|
|
+ if ((!(flags & EXT4_IGET_SPECIAL) &&
|
|
|
(ino < EXT4_FIRST_INO(sb) && ino != EXT4_ROOT_INO)) ||
|
|
(ino < EXT4_FIRST_INO(sb) && ino != EXT4_ROOT_INO)) ||
|
|
|
(ino < EXT4_ROOT_INO) ||
|
|
(ino < EXT4_ROOT_INO) ||
|
|
|
(ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) {
|
|
(ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) {
|