Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242379
b: refs/heads/master
c: 8e8eaab
h: refs/heads/master
i:
  242377: d0a00c0
  242375: a0fc491
v: v3
  • Loading branch information
Amir Goldstein authored and Theodore Ts'o committed Feb 28, 2011
1 parent 5719be8 commit c9bad98
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 32a9bb57d7c1fd04ae0f72b8f671501f000a0e9f
refs/heads/master: 8e8eaabefee3ff645b9551ee32c6c54c7d80ad19
2 changes: 1 addition & 1 deletion trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode,
BUG_ON(EXT4_JOURNAL(inode) == NULL);
jbd_debug(2, "restarting handle %p\n", handle);
up_write(&EXT4_I(inode)->i_data_sem);
ret = ext4_journal_restart(handle, blocks_for_truncate(inode));
ret = ext4_journal_restart(handle, nblocks);
down_write(&EXT4_I(inode)->i_data_sem);
ext4_discard_preallocations(inode);

Expand Down

0 comments on commit c9bad98

Please sign in to comment.