Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186105
b: refs/heads/master
c: 7eb4969
h: refs/heads/master
i:
  186103: aab3ccc
v: v3
  • Loading branch information
Jan Kara committed Mar 4, 2010
1 parent 17b4c0f commit c1b88ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: ab94c39b6fa076d4f6d2903dcc54cda35d938776
refs/heads/master: 7eb4969e04060dcf3fbd46af9c21b1059b853068
5 changes: 3 additions & 2 deletions trunk/fs/ext3/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1785,8 +1785,9 @@ static ssize_t ext3_direct_IO(int rw, struct kiocb *iocb,
handle = ext3_journal_start(inode, 2);
if (IS_ERR(handle)) {
/* This is really bad luck. We've written the data
* but cannot extend i_size. Bail out and pretend
* the write failed... */
* but cannot extend i_size. Truncate allocated blocks
* and pretend the write failed... */
ext3_truncate(inode);
ret = PTR_ERR(handle);
goto out;
}
Expand Down

0 comments on commit c1b88ec

Please sign in to comment.