diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:32:44 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:32:44 +0300 |
commit | 841a5f87e2d08c60836859da69575b36caadb37d (patch) | |
tree | bf789348ee30465ca0258128924b626b7108700f /fs/xfs/xfs_health.c | |
parent | baf44fa5c37a2357a7ae92889f74bc1824f33fd4 (diff) | |
download | linux-841a5f87e2d08c60836859da69575b36caadb37d.tar.xz |
xfs: report quota block corruption errors to the health system
Whenever we encounter corrupt quota blocks, 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>
Diffstat (limited to 'fs/xfs/xfs_health.c')
-rw-r--r-- | fs/xfs/xfs_health.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_health.c b/fs/xfs/xfs_health.c index 568300ae8555..bbdc621e5ee5 100644 --- a/fs/xfs/xfs_health.c +++ b/fs/xfs/xfs_health.c @@ -17,6 +17,7 @@ #include "xfs_btree.h" #include "xfs_da_format.h" #include "xfs_da_btree.h" +#include "xfs_quota_defs.h" /* * Warn about metadata corruption that we detected but haven't fixed, and |