xfs: pass perag to xfs_alloc_read_agfl
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 09:08:15 +0000 (19:08 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 09:08:15 +0000 (19:08 +1000)
commitcec7bb7d58fa0e644f8cec46b081bf5427c1a0f8
treed6dd4301cec4f4defd05cc0698582754ea55c043
parent8c392eb27f7a98e403658d066e387c7b1c604f2b
xfs: pass perag to xfs_alloc_read_agfl

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>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc.h
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/common.c