]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: fold xfs_alloc_ag_vextent() into callers
authorDave Chinner <dchinner@redhat.com>
Tue, 9 May 2023 09:30:30 +0000 (11:30 +0200)
committerCarlos Maiolino <cem@kernel.org>
Wed, 10 May 2023 12:41:36 +0000 (14:41 +0200)
commit32cd26bf590dbdabeb2b13d7e1592c9624a0ee8b
tree5b7395340a57c857055fa60c0312b222c0c4227a
parentd99d52877fe2146e7274b8c8daa88da942261a0a
xfs: fold xfs_alloc_ag_vextent() into callers

Source kernel commit: 230e8fe8462ffda0849ea40b61dcf9f233854076

We don't need the multiplexing xfs_alloc_ag_vextent() provided
anymore - we can just call the exact/near/size variants directly.
This allows us to remove args->type completely and stop using
args->fsbno as an input to the allocator algorithms.

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
libxfs/xfs_alloc.h
libxfs/xfs_bmap.c