diff mbox series

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

Message ID 171142134008.2218093.11193146609274529471.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 March 26, 2024, 3:58 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>
---
 spaceman/health.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Christoph Hellwig March 26, 2024, 5:43 a.m. UTC | #1
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

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},
 };