Dave Chinner 319c9e874a xfs: use xfs_alloc_vextent_first_ag() where appropriate
Change obvious callers of single AG allocation to use
xfs_alloc_vextent_first_ag(). This gets rid of
XFS_ALLOCTYPE_FIRST_AG as the type used within
xfs_alloc_vextent_first_ag() during iteration is _THIS_AG. Hence we
can remove the setting of args->type from all the callers of
_first_ag() and remove the alloctype.

While doing this, pass the allocation target fsb as a parameter
rather than encoding it in args->fsbno. This starts the process
of making args->fsbno an output only variable rather than
input/output.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
2023-02-13 09:14:53 +11:00
..
2022-01-15 16:30:29 +02:00
2021-10-22 16:00:31 -07:00
2022-10-19 12:55:42 +02:00
2022-10-19 12:55:42 +02:00
2022-07-22 10:58:39 -07:00
2022-06-23 13:34:38 -07:00
2022-12-13 19:29:45 -08:00
2022-10-10 20:32:10 -07:00
2022-05-11 17:01:22 +10:00
2021-08-19 10:07:14 -07:00
2023-02-10 09:06:06 -08:00