xfs: remove the duplicated inode log fieldmask set
PATCH 1/1 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 <[email protected]>
--- fs/xfs/xfs_inode.c | 1 - 1 file changed, 1 deletion(-)
fs/xfs/xfs_inode.c +0 -1
@@ -3327,7 +3327,6 @@ struct xfs_iunlink { goto out_trans_cancel;xfs_bumplink (tp, wip); -xfs_trans_log_inode (tp, wip,XFS_ILOG_CORE );VFS_I (wip)->i_state &= ~I_LINKABLE ; }
Signature · 4 lines
1.8.3.1 -- kaixuxia
Quoted 4 lines · kaixuxia
The
xfs_bumplink()call has set the inode log fieldmaskXFS_ILOG_CORE, so the nextxfs_trans_log_inode()call is not necessary.Signed-off-by kaixuxia <[email protected]>
Looks ok,
Reviewed-by Darrick J. Wong <[email protected]>
--D
Quoted 21 lines
--- fs/xfs/xfs_inode.c | 1 - 1 file changed, 1 deletion(-)fs/xfs/xfs_inode.c +0
-1@@ -3327,7 +3327,6 @@ struct xfs_iunlink { goto out_trans_cancel;xfs_bumplink (tp, wip); -xfs_trans_log_inode (tp, wip,XFS_ILOG_CORE );VFS_I (wip)->i_state &= ~I_LINKABLE ; }Signature · 4 lines
1.8.3.1 -- kaixuxia