diff mbox series

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

Message ID 171634534420.2482833.15149371878461172207.stgit@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [1/2] xfs_spaceman: report the health of quota counts | expand

Commit Message

Darrick J. Wong May 22, 2024, 3:19 a.m. UTC
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
---
 spaceman/health.c |    4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/spaceman/health.c b/spaceman/health.c
index 3318f9d1a..88b12c0b0 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},
 };