]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: pass perag to xfs_read_agi
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 09:07:47 +0000 (19:07 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 09:07:47 +0000 (19:07 +1000)
commit049697f6a4c394b5e40b66e488d6f0e8b317d0ae
treeebcb1fc8778c800e77af413dfa295b43f7dd4156
parent12896b9fcb9dfd8b0e0417edb4d3def7e91783ce
xfs: pass perag to xfs_read_agi

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>
fs/xfs/libxfs/xfs_ialloc.c
fs/xfs/libxfs/xfs_ialloc.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_log_recover.c