xfs: Hoist node transaction handling
authorAllison Henderson <allison.henderson@oracle.com>
Fri, 12 Feb 2021 19:27:14 +0000 (12:27 -0700)
committerAllison Henderson <allison.henderson@oracle.com>
Tue, 1 Jun 2021 17:49:46 +0000 (10:49 -0700)
commit3f562d092bb1edd39bfc0e6808d7108d47f8aa3a
tree2596b547ec3c66ad23509de178c8866fefb434c8
parent83c6e70789ff371c4eebc54f2c8d979305a1bae8
xfs: Hoist node transaction handling

This patch basically hoists the node transaction handling around the
leaf code we just hoisted.  This will helps setup this area for the
state machine since the goto is easily replaced with a state since it
ends with a transaction roll.

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