diff options
-rw-r--r-- | fs/ext4/block_validity.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/block_validity.c b/fs/ext4/block_validity.c index 968f163b5feb..8d03550aaae3 100644 --- a/fs/ext4/block_validity.c +++ b/fs/ext4/block_validity.c | |||
@@ -142,7 +142,8 @@ static int ext4_protect_reserved_inode(struct super_block *sb, u32 ino) | |||
142 | struct inode *inode; | 142 | struct inode *inode; |
143 | struct ext4_sb_info *sbi = EXT4_SB(sb); | 143 | struct ext4_sb_info *sbi = EXT4_SB(sb); |
144 | struct ext4_map_blocks map; | 144 | struct ext4_map_blocks map; |
145 | u32 i = 0, err = 0, num, n; | 145 | u32 i = 0, num; |
146 | int err = 0, n; | ||
146 | 147 | ||
147 | if ((ino < EXT4_ROOT_INO) || | 148 | if ((ino < EXT4_ROOT_INO) || |
148 | (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) | 149 | (ino > le32_to_cpu(sbi->s_es->s_inodes_count))) |