]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: rework deferred attribute operation setup
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)
commit52396d814f9de6824bc681dc5a7476ef800556ed
tree3b67d509ca731db7145d117b70554f00b9304eff
parent94f2912964ec47ab9310a6b68ae144c926336a07
xfs: rework deferred attribute operation setup

Source kernel commit: 709c8632597c3276cd21324b0256628f1a7fd4df

Logged attribute intents only have set and remove types - there is
no separate intent type for a replace operation. We should have a
separate type for a replace operation, as it needs to perform
operations that neither SET or REMOVE can perform.

Add this type to the intent items and rearrange the deferred
operation setup to reflect the different operations we are
performing.

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>
include/xfs_trace.h
libxfs/xfs_attr.c
libxfs/xfs_attr.h
libxfs/xfs_log_format.h