From patchwork Fri Oct 28 17:00:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/7] ext4: Update inode's transaction id after punch_hole Date: Fri, 28 Oct 2011 07:00:08 -0000 From: Dmitri Monakho X-Patchwork-Id: 122449 Message-Id: <1319821210-7374-6-git-send-email-dmonakhov@openvz.org> To: linux-ext4@vger.kernel.org Cc: achender@linux.vnet.ibm.com, tytso@mit.edu, Dmitry Monakhov Signed-off-by: Dmitry Monakhov --- fs/ext4/extents.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 0365173..5cce39a 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -3289,6 +3289,7 @@ ext4_ext_handle_punched_extent(handle_t *handle, struct inode *inode, if (!err && ext4_ext_try_shrink(handle, inode)) err = ext4_mark_inode_dirty(handle, inode); out: + ext4_update_inode_fsync_trans(handle, inode, 0); if (path) { ext4_ext_drop_refs(path); kfree(path);