Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17014
b: refs/heads/master
c: 15b2fe3
h: refs/heads/master
v: v3
  • Loading branch information
Evgeniy Polyakov authored and Linus Torvalds committed Jan 9, 2006
1 parent f76aa10 commit 1cce493
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: ac34dd052400b1e63aa8e711a13c0670943296fd
refs/heads/master: 15b2fe3931831891a62bad9cafd403c169ae087c
4 changes: 3 additions & 1 deletion trunk/fs/ufs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1296,8 +1296,10 @@ static ssize_t ufs_quota_write(struct super_block *sb, int type,
blk++;
}
out:
if (len == towrite)
if (len == towrite) {
up(&inode->i_sem);
return err;
}
if (inode->i_size < off+len-towrite)
i_size_write(inode, off+len-towrite);
inode->i_version++;
Expand Down

0 comments on commit 1cce493

Please sign in to comment.