xfs: move the btree stats offset into struct btree_ops
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:35:21 +0000 (12:35 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:35:21 +0000 (12:35 -0800)
commit07b7f2e3172b97da2a7ac273ecbaf173cc09a9f4
tree36e7dad7ba7f84375744656e6565d80c9043a441
parent90cfae818dac5227e94e21d0f5250e098432723e
xfs: move the btree stats offset into struct btree_ops

The statistics offset is completely static, move it into the btree_ops
structure instead of the cursor.

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