Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98685
b: refs/heads/master
c: f5c8f7d
h: refs/heads/master
i:
  98683: 457d532
v: v3
  • Loading branch information
Jan Kara authored and Linus Torvalds committed Jul 4, 2008
1 parent df5e028 commit e9ff2f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 450c622e9ff19888818d4e2c4d31adb97a5242b2
refs/heads/master: f5c8f7dae75e1e6bb3200fc61302e4d5e2df3dc2
4 changes: 3 additions & 1 deletion trunk/fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2875,8 +2875,10 @@ static ssize_t ext3_quota_write(struct super_block *sb, int type,
blk++;
}
out:
if (len == towrite)
if (len == towrite) {
mutex_unlock(&inode->i_mutex);
return err;
}
if (inode->i_size < off+len-towrite) {
i_size_write(inode, off+len-towrite);
EXT3_I(inode)->i_disksize = inode->i_size;
Expand Down

0 comments on commit e9ff2f3

Please sign in to comment.