]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: factor out a xfs_rtallocate_align helper
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Aug 2024 23:03:54 +0000 (16:03 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:54:10 +0000 (14:54 -0700)
commitc13d570657b31116a0f42f3566a522a020ef003b
tree8b79fa2c236cd69ecdba45bbf00b1def0a761bfa
parentf3b973392290b7d2a0ef94627992c9846bc6e723
xfs: factor out a xfs_rtallocate_align helper

Split the code to calculate the aligned allocation request from
xfs_bmap_rtalloc into a separate self-contained helper.

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>
fs/xfs/xfs_rtalloc.c