xfs: report inode corruption errors to the health system
authorDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:32:43 +0000 (12:32 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:32:43 +0000 (12:32 -0800)
commitbaf44fa5c37a2357a7ae92889f74bc1824f33fd4
treec50e1ee0bb1048aebb8049e9ed85247f3c5cd773
parentb280fb0cbf48cea962d90bbe9c080ee1e77c3b4c
xfs: report inode corruption errors to the health system

Whenever we encounter corrupt inode records, we should report that to
the health monitoring system for later reporting.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c