diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:30:51 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 23:30:51 +0300 |
commit | 3d8f1426977f1bf10f867bcd26df6518ae6c2b2c (patch) | |
tree | 58942946ef7dc7d1b37fd4f4b10ce6c04bb6c475 /fs/xfs/xfs_trans_dquot.c | |
parent | 5385f1a60d4e5b73e8ecd2757865352b68f54fb9 (diff) | |
download | linux-3d8f1426977f1bf10f867bcd26df6518ae6c2b2c.tar.xz |
xfs: report the health of quota counts
Report the health of quota counts.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_trans_dquot.c')
-rw-r--r-- | fs/xfs/xfs_trans_dquot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans_dquot.c b/fs/xfs/xfs_trans_dquot.c index 9c159d016ecf..30bde11aa1c2 100644 --- a/fs/xfs/xfs_trans_dquot.c +++ b/fs/xfs/xfs_trans_dquot.c @@ -17,6 +17,7 @@ #include "xfs_qm.h" #include "xfs_trace.h" #include "xfs_error.h" +#include "xfs_health.h" STATIC void xfs_trans_alloc_dqinfo(xfs_trans_t *); @@ -706,6 +707,7 @@ error_return: error_corrupt: xfs_dqunlock(dqp); xfs_force_shutdown(mp, SHUTDOWN_CORRUPT_INCORE); + xfs_fs_mark_sick(mp, XFS_SICK_FS_QUOTACHECK); return -EFSCORRUPTED; } |