]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: pretty print metadata file types in error messages
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:26 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:05 +0000 (13:06 -0800)
commit219ee99d3673ded7abbc13ddd4d7847e92661e2c
treefa66d582771540a316e9b5ee5536367ca5b8a6fb
parent5e0679d1c62f25f97b4f93121efe236fc4e768d2
xfs: pretty print metadata file types in error messages

Create a helper function to turn a metadata file type code into a
printable string, and use this to complain about lockdep problems with
rtgroup inodes.  We'll use this more in the next patch.

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