xfs: Clean up xfs_attr_node_addname_clear_incomplete
authorAllison Henderson <allison.henderson@oracle.com>
Fri, 21 May 2021 07:53:40 +0000 (00:53 -0700)
committerAllison Henderson <allison.henderson@oracle.com>
Tue, 1 Jun 2021 17:49:49 +0000 (10:49 -0700)
commit4fd084dbbd05402bb6e24782b8e9f9ea3e8ab3d6
tree841109f48134e586f205f87f87d378d73a37ff31
parent0e6acf29db6f463027d1ff7cea86a641da89f0d4
xfs: Clean up xfs_attr_node_addname_clear_incomplete

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>
fs/xfs/libxfs/xfs_attr.c