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

Source kernel commit: 61021deb1faa5b2b913bf0ad76e2769276160b04

We have the perag in most palces we call xfs_read_agi, 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_ialloc.c
libxfs/xfs_ialloc.h