xfs: pass perag to xfs_alloc_get_freelist
authorDave Chinner <dchinner@redhat.com>
Thu, 7 Jul 2022 09:08:01 +0000 (19:08 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 Jul 2022 09:08:01 +0000 (19:08 +1000)
commit49f0d84ec1db5bd46dcf3796fc792fce74ff25a3
tree30ec53de25a7def51d2090abe5074d03a93b1ab3
parentfa044ae70c64343b07277256952d22a0dc05b319
xfs: pass perag to xfs_alloc_get_freelist

It's available in all callers, so pass it in so that the perag can
be passed further down the stack.

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/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_rmap_btree.c
fs/xfs/scrub/repair.c