xfs: Skip flip flags for delayed attrs
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 9 May 2022 09:09:10 +0000 (19:09 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2022 09:09:10 +0000 (19:09 +1000)
commitf38dc503d366b589d98d5676a5b279d10b47bcb9
treee17b74c83319dfb894ddcdc2b9fff8fa6cddc741
parent1d08e11d04d293cb7006d1c8641be1fdd8a8e397
xfs: Skip flip flags for delayed attrs

This is a clean up patch that skips the flip flag logic for delayed attr
renames.  Since the log replay keeps the inode locked, we do not need to
worry about race windows with attr lookups.  So we can skip over
flipping the flag and the extra transaction roll for it

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr_leaf.c