aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-08-30 22:37:07 +0000
committerDarrick J. Wong <[email protected]>2024-09-01 15:58:19 +0000
commitfa0fc38b255cc88aef31ff13b5593e27622204e1 (patch)
tree6aa4e92140220a55e060c06b28e45834691328a6 /fs/xfs/xfs_rtalloc.c
parentxfs: fix broken variable-sized allocation detection in xfs_rtallocate_extent_... (diff)
downloadkernel-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