summaryrefslogtreecommitdiffstats
path: root/fs/ext2/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/truncate.c')
-rw-r--r--fs/ext2/truncate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/truncate.c b/fs/ext2/truncate.c
index 1c05cc09f..ba8397196 100644
--- a/fs/ext2/truncate.c
+++ b/fs/ext2/truncate.c
@@ -211,7 +211,7 @@ static int trunc_indirect (struct inode * inode, int offset, u32 * p, struct buf
inode->i_ino, tmp);
*p = 0;
if (dind_bh)
- mark_buffer_dirty_inode(dind_bh, 1, inode);
+ mark_buffer_dirty(dind_bh, 1);
else
mark_inode_dirty(inode);
return 0;
@@ -279,7 +279,7 @@ static int trunc_dindirect (struct inode * inode, int offset, u32 * p,
inode->i_ino, tmp);
*p = 0;
if (tind_bh)
- mark_buffer_dirty_inode(tind_bh, 1, inode);
+ mark_buffer_dirty(tind_bh, 1);
else
mark_inode_dirty(inode);
return 0;