summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/alloc_repair.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:15:26 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-14 14:17:12 -0700
commit0bd217fd35635b40137742a2183cb66b72648ba1 (patch)
treed3fbe25e415044cfd1f331cb7bfd5e0ded8c2836 /fs/xfs/scrub/alloc_repair.c
parent14b661224091388757e0e337a70356d42bbf94b3 (diff)
xfs: convert "skip_discard" to a proper flags bitsetextfree-intent-cleanups_2022-10-14
Convert the boolean to skip discard on free into a proper flags field so that we can add more flags in the next patch. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/alloc_repair.c')
-rw-r--r--fs/xfs/scrub/alloc_repair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/scrub/alloc_repair.c b/fs/xfs/scrub/alloc_repair.c
index 21b28a8f051f..51778293534d 100644
--- a/fs/xfs/scrub/alloc_repair.c
+++ b/fs/xfs/scrub/alloc_repair.c
@@ -500,9 +500,9 @@ xrep_abt_dispose_reservations(
* online.
*/
if (resv->used < resv->len)
- __xfs_free_extent_later(sc->tp,
- resv->fsbno + resv->used,
- resv->len - resv->used, NULL, true);
+ xfs_free_extent_later(sc->tp, resv->fsbno + resv->used,
+ resv->len - resv->used, NULL,
+ XFS_FREE_EXTENT_SKIP_DISCARD);
}
junkit: