diff options
| author | Christoph Hellwig <[email protected]> | 2024-08-30 22:37:07 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-09-01 15:58:19 +0000 |
| commit | fa0fc38b255cc88aef31ff13b5593e27622204e1 (patch) | |
| tree | 6aa4e92140220a55e060c06b28e45834691328a6 /fs/xfs/xfs_rtalloc.c | |
| parent | xfs: fix broken variable-sized allocation detection in xfs_rtallocate_extent_... (diff) | |
| download | kernel-fa0fc38b255cc88aef31ff13b5593e27622204e1.tar.gz kernel-fa0fc38b255cc88aef31ff13b5593e27622204e1.zip | |
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 <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
