xfs: remove flags argument from xfs_inode_ag_walk
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 May 2020 20:08:48 +0000 (13:08 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 27 May 2020 15:49:27 +0000 (08:49 -0700)
commit390600f811f1adfb9158e9b670b81219a9d94d72
tree6539bea35ed3bd92bf18f8ebf184937344e9b25b
parent9be0590453cdae1b7aa2eb08515cc140ecc850c3
xfs: remove flags argument from xfs_inode_ag_walk

The incore inode walk code passes a flags argument and a pointer from
the xfs_inode_ag_iterator caller all the way to the iteration function.
We can reduce the function complexity by passing flags through the
private pointer.

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
fs/xfs/xfs_icache.h
fs/xfs/xfs_qm_syscalls.c