Merge branch 'guilt/xfs-5.19-larp-cleanups' into xfs-5.19-for-next
authorDave Chinner <david@fromorbit.com>
Mon, 30 May 2022 00:58:59 +0000 (10:58 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 30 May 2022 00:58:59 +0000 (10:58 +1000)
This series contains a two key cleanups for the new LARP code.  Most
of it is refactoring and tweaking the code that creates kernel log
messages about enabling and disabling features -- we should be
warning about LARP being turned on once per mount, instead of once
per insmod cycle; we shouldn't be spamming the logs so aggressively
about turning *off* log incompat features.

The second part of the series refactors the LARP code responsible
for getting (and releasing) permission to use xattr log items.  The
implementation code doesn't belong in xfs_log.c, and calls to
logging functions don't belong in libxfs -- they really should be
done by the VFS implementation functions before they start calling
into libraries.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>

Trivial merge