Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348108
b: refs/heads/master
c: 721e3eb
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed Dec 27, 2012
1 parent cfa6b2d commit c3ac5e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d096ad0f79a782935d2e06ae8fb235e8c5397775
refs/heads/master: 721e3eba21e43532e438652dd8f1fcdfce3187e7
2 changes: 2 additions & 0 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,9 @@ static void ext4_orphan_cleanup(struct super_block *sb,
__func__, inode->i_ino, inode->i_size);
jbd_debug(2, "truncating inode %lu to %lld bytes\n",
inode->i_ino, inode->i_size);
mutex_lock(&inode->i_mutex);
ext4_truncate(inode);
mutex_unlock(&inode->i_mutex);
nr_truncates++;
} else {
ext4_msg(sb, KERN_DEBUG,
Expand Down

0 comments on commit c3ac5e1

Please sign in to comment.