]> 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)
commit5366448f165004c7715f0db0443bdd694c709895
tree302a3de693f7a871fd4c883007c8ff491c9434bd
parent52947fd3782ea9cda4d5be17dee26ee5da735950
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