xfs: move xfs_inode_ag_iterator to be closer to the perag walking code
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 May 2020 20:08:50 +0000 (13:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 May 2020 15:49:27 +0000 (08:49 -0700)
commit5662d38ccdbd9e5c816f5c0b7f490a29729217b0
tree8118e89ba179c947a7af9981a621540a88b81799
parent7e88d31423e2874be03f8ebc6274c917f674743a
xfs: move xfs_inode_ag_iterator to be closer to the perag walking code

Move the xfs_inode_ag_iterator function to be nearer xfs_inode_ag_walk
so that we don't have to scroll back and forth to figure out how the
incore inode walking function works.  No functional changes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_icache.c