]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Clean up xfs_attr_node_addname_clear_incomplete
authorAllison Henderson <allison.henderson@oracle.com>
Fri, 15 Oct 2021 20:28:25 +0000 (16:28 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 15 Oct 2021 20:28:25 +0000 (16:28 -0400)
commit38f71479bb0c1a275c4dce1cbaf326fc4f960bdf
tree7e810f695374fe6836e72f2b98f2a90ffb33be62
parent1ad8a3b5d295b6e2589aa444f9fdee4231489d1a
xfs: Clean up xfs_attr_node_addname_clear_incomplete

Source kernel commit: 4fd084dbbd05402bb6e24782b8e9f9ea3e8ab3d6

We can use the helper function xfs_attr_node_remove_name to reduce
duplicate code in this function

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c