]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Hoist xfs_attr_node_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)
commitedd2419e9db940e4ad303ff3215826ad1263f844
tree9219a31e5f6952e230b7c5cebd2944c8c71e16ae
parentf7dcc61f2c36e08798a7fb76197b0dadc027232b
xfs: Hoist xfs_attr_node_addname

Source kernel commit: 5d954cc09f6baed80458ea02ec092031608ea3fe

This patch hoists the later half of xfs_attr_node_addname into
the calling function.  We do this because it is this area that
will need the most state management, and we want to keep such
code in the same scope as much as possible

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