]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: don't override bc_ops for staging btrees
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:37:35 +0000 (12:37 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:37:35 +0000 (12:37 -0800)
commit2b9e7f2668c540f18afd66a053ea78f3a629f8e2
tree82783e887865249ddc18632303bdf30c6047e9b4
parentf9c18129e57df7b33f4257340840525816481da6
xfs: don't override bc_ops for staging btrees

Add a few conditionals for staging btrees to the core btree code instead
of overloading the bc_ops vector.

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>
fs/xfs/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree_staging.c
fs/xfs/libxfs/xfs_btree_staging.h
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_refcount_btree.c
fs/xfs/libxfs/xfs_rmap_btree.c