diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-22 12:35:15 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:35:15 -0800 |
commit | b20775ed644af0cbaee9632ad63ae6ec5ee502cc (patch) | |
tree | 42c52f97c30fb7914f683e8d3b7d9891bde1ee8e /fs/xfs/libxfs/xfs_alloc_btree.c | |
parent | 73a8fd93c421c4a6ac2c581c4d3478d3d68a0def (diff) | |
download | linux-b20775ed644af0cbaee9632ad63ae6ec5ee502cc.tar.gz linux-b20775ed644af0cbaee9632ad63ae6ec5ee502cc.tar.bz2 linux-b20775ed644af0cbaee9632ad63ae6ec5ee502cc.zip |
xfs: turn the allocbt cursor active field into a btree flag
Add a new XFS_BTREE_ALLOCBT_ACTIVE flag to replace the active field.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_alloc_btree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_alloc_btree.c b/fs/xfs/libxfs/xfs_alloc_btree.c index 0ed1477187bc..91485b642471 100644 --- a/fs/xfs/libxfs/xfs_alloc_btree.c +++ b/fs/xfs/libxfs/xfs_alloc_btree.c @@ -523,7 +523,6 @@ xfs_allocbt_init_common( mp->m_alloc_maxlevels, xfs_allocbt_cur_cache); cur->bc_statoff = XFS_STATS_CALC_INDEX(xs_abtb_2); } - cur->bc_ag.abt.active = false; cur->bc_ag.pag = xfs_perag_hold(pag); |