]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass perag to xfs_alloc_read_agfl
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Aug 2022 12:27:30 +0000 (14:27 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 30 Aug 2022 07:58:54 +0000 (09:58 +0200)
commit75c01cccfdcca3ffa838a39d8061460f637b1b6f
tree891a7abeb0b831c6ac928f18310beb9a2b8d738d
parent9a73333d9ccf32c61b4ae00574674b6bb2d69b3e
xfs: pass perag to xfs_alloc_read_agfl

Source kernel commit: cec7bb7d58fa0e644f8cec46b081bf5427c1a0f8

We have the perag in most places we call xfs_alloc_read_agfl, so
pass the perag instead of a mount/agno pair.

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