diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:15:26 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:17:12 -0700 |
commit | 0bd217fd35635b40137742a2183cb66b72648ba1 (patch) | |
tree | d3fbe25e415044cfd1f331cb7bfd5e0ded8c2836 /fs/xfs/libxfs/xfs_ag.c | |
parent | 14b661224091388757e0e337a70356d42bbf94b3 (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/libxfs/xfs_ag.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_ag.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_ag.c b/fs/xfs/libxfs/xfs_ag.c index 972131732cce..68fd0337282f 100644 --- a/fs/xfs/libxfs/xfs_ag.c +++ b/fs/xfs/libxfs/xfs_ag.c @@ -915,7 +915,8 @@ xfs_ag_shrink_space( if (err2 != -ENOSPC) goto resv_err; - __xfs_free_extent_later(*tpp, args.fsbno, delta, NULL, true); + xfs_free_extent_later(*tpp, args.fsbno, delta, NULL, + XFS_FREE_EXTENT_SKIP_DISCARD); /* * Roll the transaction before trying to re-init the per-ag |