]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move allocation accounting to xfs_alloc_vextent_set_fsbno()
authorDave Chinner <dchinner@redhat.com>
Tue, 9 May 2023 09:30:29 +0000 (11:30 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 10 May 2023 12:38:51 +0000 (14:38 +0200)
commitd99d52877fe2146e7274b8c8daa88da942261a0a
treeaa247b5ab8a270a4a233c4c0959ca182f48a26eb
parenta74b5502183248592ab6f84b2432a5e7c9212a62
xfs: move allocation accounting to xfs_alloc_vextent_set_fsbno()

Source kernel commit: e4d174260779ff0e2dc5de951c2e235721b02b05

Move it from xfs_alloc_ag_vextent() so we can get rid of that layer.
Rename xfs_alloc_vextent_set_fsbno() to xfs_alloc_vextent_finish()
to indicate that it's function is finishing off the allocation that
we've run now that it contains much more functionality.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_alloc.c