]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit567e27ebf8e227aa229e2b66c0c6f16334d50b3b
tree302a3de693f7a871fd4c883007c8ff491c9434bd
parent233a06cbeb5edce2f8fd7abe2dd24863767fe902
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