diff options
| author | Darrick J. Wong <[email protected]> | 2024-07-02 18:22:51 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-07-02 18:37:01 +0000 |
| commit | 980faece91a60c279e7c24cb1d1a378bbbb74bb9 (patch) | |
| tree | ebecd9c0e142df87fa91a4667620946b1233da03 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
| parent | xfs: clean up extent free log intent item tracepoint callsites (diff) | |
| download | kernel-980faece91a60c279e7c24cb1d1a378bbbb74bb9.tar.gz kernel-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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
| -rw-r--r-- | fs/xfs/libxfs/xfs_ialloc_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c index 42e9fd47f6c7..496e2f72a85b 100644 --- a/fs/xfs/libxfs/xfs_ialloc_btree.c +++ b/fs/xfs/libxfs/xfs_ialloc_btree.c @@ -170,7 +170,7 @@ __xfs_inobt_free_block( xfs_inobt_mod_blockcount(cur, -1); fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); return xfs_free_extent_later(cur->bc_tp, fsbno, 1, - &XFS_RMAP_OINFO_INOBT, resv, false); + &XFS_RMAP_OINFO_INOBT, resv, 0); } STATIC int |
