xfs: use for_each_perag_wrap in xfs_filestream_pick_ag
authorDave Chinner <dchinner@redhat.com>
Sun, 12 Feb 2023 22:14:55 +0000 (09:14 +1100)
committerDave Chinner <dchinner@redhat.com>
Sun, 12 Feb 2023 22:14:55 +0000 (09:14 +1100)
commiteb70aa2d8ed9a6fc3525f305226c550524390cd2
tree8a732346d57816718e22a93d9ccdc6f2bd2c3891
parent3054face139f9c77566a90a0524dd85c2f38c7f2
xfs: use for_each_perag_wrap in xfs_filestream_pick_ag

xfs_filestream_pick_ag() is now ready to rework to use
for_each_perag_wrap() for iterating the perags during the AG
selection scan.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_filestream.c