ocfs2: call ocfs2_update_inode_fsync_trans when updating any inode
[deliverable/linux.git] / fs / ocfs2 / move_extents.c
index 64c304d668f0347067e5afd7fb4b486b1983a529..3ca939552d9cc1895b8769dd8c354a4564b4ccce 100644 (file)
@@ -151,6 +151,7 @@ static int __ocfs2_move_extent(handle_t *handle,
                                                        old_blkno, len);
        }
 
+       ocfs2_update_inode_fsync_trans(handle, inode, 0);
 out:
        ocfs2_free_path(path);
        return ret;
@@ -957,6 +958,7 @@ static int ocfs2_move_extents(struct ocfs2_move_extents_context *context)
        inode->i_ctime = CURRENT_TIME;
        di->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec);
        di->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec);
+       ocfs2_update_inode_fsync_trans(handle, inode, 0);
 
        ocfs2_journal_dirty(handle, di_bh);
 
This page took 0.025389 seconds and 5 git commands to generate.