]> 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)
commit52947fd3782ea9cda4d5be17dee26ee5da735950
treedcefed5bba354f77aa24a82de7a1e8a71b9522d7
parenta46273083f31412d58529cbb3f24efdb7b2d9edd
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]