xfs: create simplified inode walk function
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:39:38 +0000 (09:39 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 2 Jul 2019 16:40:05 +0000 (09:40 -0700)
commita211432c27ffa32d9978f6c18f5af0c3f8ad2ad1
treee9eea5c3d498f02fc9f2ccbaa3aced4169b7e6e8
parent5bb46e3e180d28c7ee6715f47c344be366a3fcc8
xfs: create simplified inode walk function

Create a new iterator function to simplify walking inodes in an XFS
filesystem.  This new iterator will replace the existing open-coded
walking that goes on in various places.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/Makefile
fs/xfs/libxfs/xfs_ialloc_btree.c
fs/xfs/libxfs/xfs_ialloc_btree.h
fs/xfs/xfs_itable.c
fs/xfs/xfs_itable.h
fs/xfs/xfs_iwalk.c [new file with mode: 0644]
fs/xfs/xfs_iwalk.h [new file with mode: 0644]
fs/xfs/xfs_trace.h