]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: rework deferred attribute operation setup
authorDave Chinner <dchinner@redhat.com>
Wed, 11 May 2022 07:05:23 +0000 (17:05 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 11 May 2022 07:05:23 +0000 (17:05 +1000)
commitd0abf8e32ed1717ce3ab1dad81e7b911b905455b
treebec82810123cce8daa5553d12e95d29079ad2580
parent5fc8dc30013b6e8a73448311df0a8aef5efc852d
xfs: rework deferred attribute operation setup

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