]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: pass per-ag references to xfs_free_extent
authorDarrick J. Wong <djwong@kernel.org>
Fri, 26 May 2023 13:38:11 +0000 (15:38 +0200)
committerCarlos Maiolino <cem@kernel.org>
Fri, 9 Jun 2023 08:27:50 +0000 (10:27 +0200)
commit42c1e5c18e5ee1547aa21eec1caa5371a958d4a7
treec506df20a5b5c0907a56d7e68ae276c3f22beae6
parent32debad7cda40bfa9ecf094cee240f4ec12fb3f2
xfs: pass per-ag references to xfs_free_extent

Source kernel commit: b2ccab3199aa7cea9154d80ea2585312c5f6eba0

Pass a reference to the per-AG structure to xfs_free_extent.  Most
callers already have one, so we can eliminate unnecessary lookups.  The
one exception to this is the EFI code, which the next patch will fix.

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