xfs: dump corrupt recovered log intent items to dmesg consistently
authorDarrick J. Wong <djwong@kernel.org>
Tue, 25 Oct 2022 22:07:14 +0000 (15:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 31 Oct 2022 15:58:20 +0000 (08:58 -0700)
commit950f0d50ee7138d7e631aefea8528d485426eda6
treeda2aa788aecd0d27984821f33f34e57a9daf9c18
parent921ed96b4f4e3bd19da7f775f39234226e6647e7
xfs: dump corrupt recovered log intent items to dmesg consistently

If log recovery decides that an intent item is corrupt and wants to
abort the mount, capture a hexdump of the corrupt log item in the kernel
log for further analysis.  Some of the log item code already did this,
so we're fixing the rest to do it consistently.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_attr_item.c
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c