xfs: pass perag to xfs_read_agf
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 09:07:54 +0000 (19:07 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 09:07:54 +0000 (19:07 +1000)
commitfa044ae70c64343b07277256952d22a0dc05b319
tree2d013c654ab276bc9aba36eca8eb894679d77808
parent61021deb1faa5b2b913bf0ad76e2769276160b04
xfs: pass perag to xfs_read_agf

We have the perag in most places we call xfs_read_agf, 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