aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-11-04 04:19:12 +0000
committerDarrick J. Wong <[email protected]>2024-11-05 21:38:37 +0000
commitcb9cd6e56e482b56ddf052b66af6e9fb51b7fb33 (patch)
treed696b049e71b111a8971e7712f3a8cbc56e39366 /fs/xfs/xfs_rtalloc.c
parentxfs: remove XFS_ILOCK_RT* (diff)
downloadkernel-cb9cd6e56e482b56ddf052b66af6e9fb51b7fb33.tar.gz
kernel-cb9cd6e56e482b56ddf052b66af6e9fb51b7fb33.zip
xfs: calculate RT bitmap and summary blocks based on sb_rextents
Use the on-disk rextents to calculate the bitmap and summary blocks instead of the calculated one so that we can refactor the helpers for calculating them. As the RT bitmap and summary scrubbers already check that sb_rextents match the block count this does not change coverage of the scrubber. 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