diff options
Diffstat (limited to 'fs/xfs/scrub/refcount_repair.c')
-rw-r--r-- | fs/xfs/scrub/refcount_repair.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/refcount_repair.c b/fs/xfs/scrub/refcount_repair.c index 22f116103b2c..3c2d6b241e83 100644 --- a/fs/xfs/scrub/refcount_repair.c +++ b/fs/xfs/scrub/refcount_repair.c @@ -24,6 +24,7 @@ #include "xfs_refcount_btree.h" #include "xfs_error.h" #include "xfs_ag.h" +#include "xfs_health.h" #include "scrub/xfs_scrub.h" #include "scrub/scrub.h" #include "scrub/common.h" @@ -224,6 +225,7 @@ xrep_refc_next_rrm( if (error) goto out_error; if (XFS_IS_CORRUPT(mp, !have_gt)) { + xfs_btree_mark_sick(cur); error = -EFSCORRUPTED; goto out_error; } @@ -350,6 +352,7 @@ xrep_refc_find_refcounts( if (error) goto out_bag; if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { + xfs_btree_mark_sick(sc->sa.rmap_cur); error = -EFSCORRUPTED; goto out_bag; } @@ -399,6 +402,7 @@ xrep_refc_find_refcounts( if (error) goto out_bag; if (XFS_IS_CORRUPT(sc->mp, !have_gt)) { + xfs_btree_mark_sick(sc->sa.rmap_cur); error = -EFSCORRUPTED; goto out_bag; } |