OSDN Git Service

xfs: rearrange xfs_inode_walk_ag parameters
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:28 +0000 (08:49 -0700)
commit964176bd32da9847112b505f57ee6e602ee5c84d
treefdd3d1ed7427395e82cc7c0b1596d9ed287810b8
parent042f65f4a79c819d74309c2607959fccacc4094a
xfs: rearrange xfs_inode_walk_ag parameters

The perag structure already has a pointer to the xfs_mount, so we don't
need to pass that separately and can drop it.  Having done that, move
iter_flags so that the argument order is the same between xfs_inode_walk
and xfs_inode_walk_ag.  The latter will make things less confusing for a
future patch that enables background scanning work to be done in
parallel.

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