]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: move the group geometry into struct xfs_groups
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 06:57:13 +0000 (08:57 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 07:13:39 +0000 (09:13 +0200)
commit844eb04c0aac8e214a4d3b9356e4070c4b295b3a
treece35da41b03536de679d1a62eddfa7b41f60fc88
parentc25d94d75e31b9b09ae00ab33933dfa237f250d7
xfs: move the group geometry into struct xfs_groups

Add/move the blocks, blklog and blkmask fields to the generic groups
structure so that code can work with AGs and RTGs by just using the
right index into the array.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_group.c
fs/xfs/libxfs/xfs_group.h
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/libxfs/xfs_rtrmap_btree.c
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trace.c