ocfs2: call ocfs2_update_inode_fsync_trans when updating any inode
[deliverable/linux.git] / fs / ocfs2 / alloc.c
index 6b97d68e34d33f8eb348a42047c1306f1802208d..b4deb5f750d9cd4e3842d6656570b2d1a34cfe02 100644 (file)
@@ -5728,6 +5728,7 @@ int ocfs2_remove_btree_range(struct inode *inode,
        }
 
        ocfs2_et_update_clusters(et, -len);
+       ocfs2_update_inode_fsync_trans(handle, inode, 1);
 
        ocfs2_journal_dirty(handle, et->et_root_bh);
 
@@ -7209,6 +7210,7 @@ int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
        di->i_ctime = di->i_mtime = cpu_to_le64(inode->i_ctime.tv_sec);
        di->i_ctime_nsec = di->i_mtime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec);
 
+       ocfs2_update_inode_fsync_trans(handle, inode, 1);
        ocfs2_journal_dirty(handle, di_bh);
 
 out_commit:
This page took 0.024707 seconds and 5 git commands to generate.