diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 11:25:37 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-22 16:41:14 -0700 |
commit | efb0f93ddd0bb3f1f6321d21c374429fedfb3508 (patch) | |
tree | 1f3246d38a55cccc068247c314920ba8d791db75 /fs/xfs/scrub/trace.h | |
parent | aa7bbb4df5d4f26f134b67f7a4218a2c7a116d50 (diff) |
xfs: teach repair to fix file nlinksscrub-nlinks_2021-10-22
Fix the nlinks now too.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/trace.h')
-rw-r--r-- | fs/xfs/scrub/trace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h index 6c2d874b9c56..e0f7cd0de061 100644 --- a/fs/xfs/scrub/trace.h +++ b/fs/xfs/scrub/trace.h @@ -2075,6 +2075,9 @@ TRACE_EVENT(xrep_rtrefc_found, __entry->refcount) ) +DEFINE_SCRUB_NLINK_DIFF_EVENT(xrep_nlinks_update_inode); +DEFINE_SCRUB_NLINK_DIFF_EVENT(xrep_nlinks_unfixable_inode); + #endif /* IS_ENABLED(CONFIG_XFS_ONLINE_REPAIR) */ #endif /* _TRACE_XFS_SCRUB_TRACE_H */ |