|
@@ -142,7 +142,8 @@ static int ext4_protect_reserved_inode(struct super_block *sb, u32 ino)
|
|
|
struct inode *inode;
|
|
struct inode *inode;
|
|
|
struct ext4_sb_info *sbi = EXT4_SB(sb);
|
|
struct ext4_sb_info *sbi = EXT4_SB(sb);
|
|
|
struct ext4_map_blocks map;
|
|
struct ext4_map_blocks map;
|
|
|
- u32 i = 0, err = 0, num, n;
|
|
|
|
|
|
|
+ u32 i = 0, num;
|
|
|
|
|
+ int err = 0, n;
|
|
|
|
|
|
|
|
if ((ino < EXT4_ROOT_INO) ||
|
|
if ((ino < EXT4_ROOT_INO) ||
|
|
|
(ino > le32_to_cpu(sbi->s_es->s_inodes_count)))
|
|
(ino > le32_to_cpu(sbi->s_es->s_inodes_count)))
|