xfs: Add attibute remove and helper functions
authorAllison Henderson <allison.henderson@oracle.com>
Wed, 24 Jul 2019 06:34:50 +0000 (06:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2019 06:28:58 +0000 (08:28 +0200)
commit83a8e6b2f2e39d4b500ed67e68145751ba9140ed
tree6249d62c89ae7f311fc9a67da700576521b93685
parentb21ff6cfcc240e0aee5ac94975dc7f65dfccaf0b
xfs: Add attibute remove and helper functions

commit 068f985a9e5ec70fde58d8f679994fdbbd093a36 upstream.

This patch adds xfs_attr_remove_args. These sub-routines remove
the attributes specified in @args. We will use this later for setting
parent pointers as a deferred attribute operation.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h