]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a8d69273d9cae175a353992e47feb4c62557af5
treed6dd4301cec4f4defd05cc0698582754ea55c043
parentfe9eb3556ec661adcbf73be40b517495d5294227
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