]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove xfs_daddr_to_rgno
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Oct 2024 11:07:08 +0000 (13:07 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 10 Oct 2024 15:01:19 +0000 (17:01 +0200)
commit38a782bb1b51eea4e6bb69dc04a934c70356d788
tree1ff820a9214461dca60a90a3dce412be004a9654
parent3fbbf6b9bbe5ff4d42df40daa23151000c0573fa
xfs: remove xfs_daddr_to_rgno

Source kernel commit: 7fd8369dd2ea40cb70392d83bed7bf166e302a86

xfs_daddr_to_rgno is only used by xfs_daddr_to_rtb, which can already
grab the group number from the div_u64_rem.

Note that in userspace db also uses it, but I'd rather open code it
there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_rtgroup.h