[PATCH 2/2] xfs_spaceman: report health of inode link counts

Darrick J. Wong
2024-03-26T03:58:58Z

From: Darrick J. Wong <djwong@kernel.org>

Report on the health of the inode link counts.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
spaceman/health.c | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/spaceman/health.c b/spaceman/health.c
index 3318f9d1a7f4..88b12c0b0ea3 100644
--- a/spaceman/health.c
+++ b/spaceman/health.c
@@ -76,6 +76,10 @@ static const struct flag_map fs_flags[] = {
.mask = XFS_FSOP_GEOM_SICK_QUOTACHECK,
.descr = "quota counts",
},
+ {
+ .mask = XFS_FSOP_GEOM_SICK_NLINKS,
+ .descr = "inode link counts",
+ },
{0},
};