Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206309
b: refs/heads/master
c: 0c095c7
h: refs/heads/master
i:
  206307: 4fa0554
v: v3
  • Loading branch information
Theodore Ts'o committed Jul 27, 2010
1 parent 35a12f0 commit 223753d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 506bf2d82165c09b179a5077e01037f6270a4db3
refs/heads/master: 0c095c7f113e9fd05913d6e1b2cccbe356be039e
6 changes: 2 additions & 4 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -5472,10 +5472,8 @@ int ext4_setattr(struct dentry *dentry, struct iattr *attr)
if (!(ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))) {
struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);

if (attr->ia_size > sbi->s_bitmap_maxbytes) {
error = -EFBIG;
goto err_out;
}
if (attr->ia_size > sbi->s_bitmap_maxbytes)
return -EFBIG;
}
}

Expand Down

0 comments on commit 223753d

Please sign in to comment.