]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: remove xfs_rgbno_to_daddr xfs-rtg-cleanups
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Oct 2024 10:09:55 +0000 (12:09 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 10 Oct 2024 14:57:48 +0000 (16:57 +0200)
commit245eb105ef79d40d5682c7a7bc5cc1673fba9e11
tree877f6e1ba49a03570017f48091ca3a580a478dd0
parente5b2a78d91041b8a64ff1aaff25c89e430c5df84
xfs: remove xfs_rgbno_to_daddr

xfs_rgbno_to_daddr is only used by xfs_rtb_to_daddr for RT group file
systems.  Open code it there so that we don't have to explain the 64-bit
rgbno magic.

Note that in userspace it is used by libxfs, but the code can be easily
rewritten without it.

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