summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_reflink.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-07-02 20:22:51 +0200
committerDarrick J. Wong <djwong@kernel.org>2024-07-02 20:37:01 +0200
commit980faece91a60c279e7c24cb1d1a378bbbb74bb9 (patch)
treeebecd9c0e142df87fa91a4667620946b1233da03 /fs/xfs/xfs_reflink.c
parentxfs: clean up extent free log intent item tracepoint callsites (diff)
downloadlinux-980faece91a60c279e7c24cb1d1a378bbbb74bb9.tar.xz
linux-980faece91a60c279e7c24cb1d1a378bbbb74bb9.zip
xfs: convert "skip_discard" to a proper flags bitset
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> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_reflink.c')
-rw-r--r--fs/xfs/xfs_reflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_reflink.c b/fs/xfs/xfs_reflink.c
index 265a2a418bc7..6fde6ec8092f 100644
--- a/fs/xfs/xfs_reflink.c
+++ b/fs/xfs/xfs_reflink.c
@@ -603,7 +603,7 @@ xfs_reflink_cancel_cow_blocks(
error = xfs_free_extent_later(*tpp, del.br_startblock,
del.br_blockcount, NULL,
- XFS_AG_RESV_NONE, false);
+ XFS_AG_RESV_NONE, 0);
if (error)
break;