xfs: Reverse apply 72b97ea40d
authorAllison Henderson <allison.henderson@oracle.com>
Fri, 19 Mar 2021 00:21:18 +0000 (17:21 -0700)
committerAllison Henderson <allison.henderson@oracle.com>
Tue, 1 Jun 2021 17:48:19 +0000 (10:48 -0700)
commit4126c06e25b38842a254b2de6ffc3019a7b2f0ca
tree57a2d2ecc22650a8e4cf856ea204d9bb5f79bd3f
parent0fe0bbe00a6fb77adf75085b7d06b71a830dd6f2
xfs: Reverse apply 72b97ea40d

Originally we added this patch to help modularize the attr code in
preparation for delayed attributes and the state machine it requires.
However, later reviews found that this slightly alters the transaction
handling as the helper function is ambiguous as to whether the
transaction is diry or clean.  This may cause a dirty transaction to be
included in the next roll, where previously it had not.  To preserve the
existing code flow, we reverse apply this commit.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_attr.c