xfs: dump the recovered xattri log item if corruption happens
authorDarrick J. Wong <djwong@kernel.org>
Thu, 30 Nov 2023 17:57:42 +0000 (09:57 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:45:15 +0000 (18:45 -0800)
commita51489e140d302c7afae763eacf882a23513f7e4
tree5ffa31c2b26eb2f9f1bf9183d366fa0a9b8c4ebc
parente70fb328d5277297ea2d9169a3a046de6412d777
xfs: dump the recovered xattri log item if corruption happens

If xfs_attri_item_recover receives a corruption error when it tries to
finish a recovered log intent item, it should dump the log item for
debugging, just like all the other log intent items.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_attr_item.c