]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: move xfs_attr_use_log_assist out of xfs_log.c
authorDarrick J. Wong <djwong@kernel.org>
Fri, 27 May 2022 00:33:29 +0000 (10:33 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 27 May 2022 00:33:29 +0000 (10:33 +1000)
commit233a06cbeb5edce2f8fd7abe2dd24863767fe902
treedcefed5bba354f77aa24a82de7a1e8a71b9522d7
parentb7245c42a617af86644e5e1c4d9594dd9c63003b
xfs: move xfs_attr_use_log_assist out of xfs_log.c

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 enables logged xattr updates out of "lib"xlog and into
xfs_xattr.c so that it no longer has to know about xlog_* functions.

While we're at it, give xfs_xattr.c its own header file.

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_log.c
fs/xfs/xfs_super.c
fs/xfs/xfs_super.h
fs/xfs/xfs_xattr.c
fs/xfs/xfs_xattr.h [new file with mode: 0644]