From: kaixuxia Date: Mon, 21 Oct 2019 15:55:33 +0000 (-0700) Subject: xfs: remove the duplicated inode log fieldmask set X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3fb21fc8cc04e9a75a426510dfe597f0d0b19134;p=linux.git xfs: remove the duplicated inode log fieldmask set The xfs_bumplink() call has set the inode log fieldmask XFS_ILOG_CORE, so the next xfs_trans_log_inode() call is not necessary. Signed-off-by: kaixuxia Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 2e94deb4610aa..e9e4f444f8ce6 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -3333,7 +3333,6 @@ xfs_rename( goto out_trans_cancel; xfs_bumplink(tp, wip); - xfs_trans_log_inode(tp, wip, XFS_ILOG_CORE); VFS_I(wip)->i_state &= ~I_LINKABLE; }