]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: factor out a xfs_rtallocate_align helper
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:37:11 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commitb2dd85f4147604cd25e024f410c5d47620f9bec6
tree24a346e6f93cc5b0e8cf93f2a58e78e8bc69c62f
parentfd048a1bb391d0ad50144160c3a490b6b34e0755
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