summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/reap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/scrub/reap.c')
-rw-r--r--fs/xfs/scrub/reap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/fs/xfs/scrub/reap.c b/fs/xfs/scrub/reap.c
index e3f2f9331899..b434aed47eb8 100644
--- a/fs/xfs/scrub/reap.c
+++ b/fs/xfs/scrub/reap.c
@@ -382,7 +382,8 @@ xreap_agextent(
rs->force_roll = true;
xfs_refcount_free_cow_extent(sc->tp, fsbno, *aglenp);
- __xfs_free_extent_later(sc->tp, fsbno, *aglenp, NULL, true);
+ xfs_free_extent_later(sc->tp, fsbno, *aglenp, NULL,
+ XFS_FREE_EXTENT_SKIP_DISCARD);
return 0;
}
@@ -412,7 +413,8 @@ xreap_agextent(
* to minimize the window in which we could crash and lose the
* old blocks.
*/
- __xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo, true);
+ xfs_free_extent_later(sc->tp, fsbno, *aglenp, rs->oinfo,
+ XFS_FREE_EXTENT_SKIP_DISCARD);
rs->deferred++;
break;
}
@@ -959,8 +961,9 @@ xreap_ifork_extent(
xfs_bmap_unmap_extent(sc->tp, ip, whichfork, imap);
xfs_trans_mod_dquot_byino(sc->tp, ip, XFS_TRANS_DQ_BCOUNT,
-(int64_t)imap->br_blockcount);
- __xfs_free_extent_later(sc->tp, imap->br_startblock,
- imap->br_blockcount, NULL, true);
+ xfs_free_extent_later(sc->tp, imap->br_startblock,
+ imap->br_blockcount, NULL,
+ XFS_FREE_EXTENT_SKIP_DISCARD);
}
out_agf: