diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-07-02 21:22:51 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-07-02 21:37:01 +0300 |
commit | 980faece91a60c279e7c24cb1d1a378bbbb74bb9 (patch) | |
tree | ebecd9c0e142df87fa91a4667620946b1233da03 /fs/xfs/libxfs/xfs_bmap_btree.c | |
parent | 4e0e2c0fe35b44cd4db6a138ed4316178ed60b5c (diff) | |
download | linux-980faece91a60c279e7c24cb1d1a378bbbb74bb9.tar.xz |
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/libxfs/xfs_bmap_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap_btree.c b/fs/xfs/libxfs/xfs_bmap_btree.c index f5d84dcb58da..d1b06ccde19e 100644 --- a/fs/xfs/libxfs/xfs_bmap_btree.c +++ b/fs/xfs/libxfs/xfs_bmap_btree.c @@ -282,7 +282,7 @@ xfs_bmbt_free_block( xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, cur->bc_ino.whichfork); error = xfs_free_extent_later(cur->bc_tp, fsbno, 1, &oinfo, - XFS_AG_RESV_NONE, false); + XFS_AG_RESV_NONE, 0); if (error) return error; |