]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Hoist xfs_attr_leaf_addname
authorAllison Henderson <allison.henderson@oracle.com>
Fri, 15 Oct 2021 20:28:24 +0000 (16:28 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 15 Oct 2021 20:28:24 +0000 (16:28 -0400)
commit1200ab603456950e7f0e66c02ec705ed2fd1b3d0
tree33240d21be134ac64cc6481c389e9d8ce7b1c69d
parentedd2419e9db940e4ad303ff3215826ad1263f844
xfs: Hoist xfs_attr_leaf_addname

Source kernel commit: 83c6e70789ff371c4eebc54f2c8d979305a1bae8

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>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c