commit | 41ce95186483db2a0c172bcb34a4ef28857d73da | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Aug 07 16:03:50 2024 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Wed Sep 18 14:00:41 2024 -0700 |
tree | b8552ddfa27a07e3a6c6f3b0b7fa0b99315accd9 | |
parent | 15f2566d292499c89c647a9d6add4ac9a2cee5fc [diff] |
xfs: remove xfs_rtb_to_rtxrem Simplify the number of block number conversion helpers by removing xfs_rtb_to_rtxrem. Any recent compiler is smart enough to eliminate the double divisions if using separate xfs_rtb_to_rtx and xfs_rtb_to_rtxoff calls. 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>