summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_health.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-22 18:48:21 +0200
committerDarrick J. Wong <djwong@kernel.org>2024-04-24 01:55:17 +0200
commit37056912d5721324ac28787a4f903798f7361099 (patch)
tree593c81f83f32085a20b22eb88505be39308a5439 /fs/xfs/xfs_health.c
parentxfs: invalidate dirloop scrub path data when concurrent updates happen (diff)
downloadlinux-37056912d5721324ac28787a4f903798f7361099.tar.xz
linux-37056912d5721324ac28787a4f903798f7361099.zip
xfs: report directory tree corruption in the health information
Report directories that are the source of corruption in the directory tree. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_health.c')
-rw-r--r--fs/xfs/xfs_health.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_health.c b/fs/xfs/xfs_health.c
index b39f959146bc..10f116d093a2 100644
--- a/fs/xfs/xfs_health.c
+++ b/fs/xfs/xfs_health.c
@@ -470,6 +470,7 @@ static const struct ioctl_sick_map ino_map[] = {
{ XFS_SICK_INO_BMBTA_ZAPPED, XFS_BS_SICK_BMBTA },
{ XFS_SICK_INO_DIR_ZAPPED, XFS_BS_SICK_DIR },
{ XFS_SICK_INO_SYMLINK_ZAPPED, XFS_BS_SICK_SYMLINK },
+ { XFS_SICK_INO_DIRTREE, XFS_BS_SICK_DIRTREE },
{ 0, 0 },
};