]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita67c58cb7dd73d994b5d0305e9fb6825fa29d1e2
tree2d013c654ab276bc9aba36eca8eb894679d77808
parent049697f6a4c394b5e40b66e488d6f0e8b317d0ae
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