| commit | 199fff62b9fdff61775cb958cef0c1c1486de893 | [log] [tgz] |
|---|---|---|
| author | Christoph Hellwig <hch@lst.de> | Wed Jul 03 14:21:59 2024 -0700 |
| committer | Darrick J. Wong <djwong@kernel.org> | Wed Aug 07 13:56:35 2024 -0700 |
| tree | da4f6c7671290b83d908f14f18c5a30aa3de4f93 | |
| parent | ff063772d08e8cbf3029598ec3c51c63a7266818 [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>