xfs: Hoist xfs_attr_leaf_addname
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 19 Apr 2021 19:55:26 +0000 (12:55 -0700)
committerAllison Henderson <allison.henderson@oracle.com>
Tue, 1 Jun 2021 17:49:45 +0000 (10:49 -0700)
commit83c6e70789ff371c4eebc54f2c8d979305a1bae8
tree50abb9dd5f762fd697e6de0af0d82125173806b7
parent5d954cc09f6baed80458ea02ec092031608ea3fe
xfs: Hoist xfs_attr_leaf_addname

This patch hoists xfs_attr_leaf_addname into the calling function.  The
goal being to get all the code that will require state management into
the same scope. This isn't particularly aesthetic right away, but it is a
preliminary step to merging in the state machine code.

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>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/xfs_trace.h