xfs: move xfs_attr_use_log_assist usage out of libxfs
authorDarrick J. Wong <djwong@kernel.org>
Fri, 27 May 2022 00:34:04 +0000 (10:34 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 27 May 2022 00:34:04 +0000 (10:34 +1000)
commitefc2efeba169ff37bbd425631985064365c614e0
tree302a3de693f7a871fd4c883007c8ff491c9434bd
parentd9c61ccb3b09d8f892cccbf662ce0c870f8e4ade
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>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/xfs_acl.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_iops.c
fs/xfs/xfs_xattr.c
fs/xfs/xfs_xattr.h