]> 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)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Aug 2024 03:49:33 +0000 (05:49 +0200)
commitc4674050bb07c28a0fa928591ea13ff91a5612b3
tree547ca18fdd6eb245028a1509a6f0631eab83dd71
parent18fb31e36893cb7ce6ab9e9d1830d32258660fef
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