diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-05-27 02:34:04 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-05-27 02:34:04 +0200 |
commit | efc2efeba169ff37bbd425631985064365c614e0 (patch) | |
tree | 302a3de693f7a871fd4c883007c8ff491c9434bd /fs/xfs/xfs_xattr.h | |
parent | xfs: move xfs_attr_use_log_assist out of xfs_log.c (diff) | |
download | linux-efc2efeba169ff37bbd425631985064365c614e0.tar.xz linux-efc2efeba169ff37bbd425631985064365c614e0.zip |
xfs: move xfs_attr_use_log_assist usage out of libxfs
The LARP patchset added an awkward coupling point between libxfs and
what would be libxlog, if the XFS log were actually its own library.
Move the code that sets up logged xattr updates out of libxfs and into
xfs_xattr.c so that libxfs no longer has to know about xlog_* functions.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_xattr.h')
-rw-r--r-- | fs/xfs/xfs_xattr.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_xattr.h b/fs/xfs/xfs_xattr.h index d34ef1835541..2b09133b1b9b 100644 --- a/fs/xfs/xfs_xattr.h +++ b/fs/xfs/xfs_xattr.h @@ -6,8 +6,7 @@ #ifndef __XFS_XATTR_H__ #define __XFS_XATTR_H__ -int xfs_attr_grab_log_assist(struct xfs_mount *mp); -void xfs_attr_rele_log_assist(struct xfs_mount *mp); +int xfs_attr_change(struct xfs_da_args *args); extern const struct xattr_handler *xfs_xattr_handlers[]; |