Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251742
b: refs/heads/master
c: f6d2f6b
h: refs/heads/master
v: v3
  • Loading branch information
Eric Gouriou authored and Theodore Ts'o committed May 23, 2011
1 parent da4ff60 commit 38c3c61
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 77f4135f2a219a2127be6cc1208c42e6175b11dd
refs/heads/master: f6d2f6b327ceef5c689581529a852dc6ec3b74a6
3 changes: 2 additions & 1 deletion trunk/fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -3450,8 +3450,9 @@ void ext4_ext_truncate(struct inode *inode)
if (IS_SYNC(inode))
ext4_handle_sync(handle);

out_stop:
up_write(&EXT4_I(inode)->i_data_sem);

out_stop:
/*
* If this was a simple ftruncate() and the file will remain alive,
* then we need to clear up the orphan record which we created above.
Expand Down

0 comments on commit 38c3c61

Please sign in to comment.