]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remote xattr removal in xfs_attr_set_iter() is conditional
authorDave Chinner <dchinner@redhat.com>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
commitd6d0318ddaebb74b7ad4c097a545b6fef1252829
treec97d7320e742fac5f60b0cfd75da25dec92e3360
parent3d434104084f6db7377988fb0403fbf1458ec965
xfs: remote xattr removal in xfs_attr_set_iter() is conditional

Source kernel commit: 2e7ef218e489f5b3f5156a305b55a08c41839c1b

We may not have a remote value for the old xattr we have to remove,
so skip over the remote value removal states and go straight to
the xattr name removal in the leaf/node block.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Allison Henderson<allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c
libxfs/xfs_attr.h