xfs: support a tag-based inode_ag_iterator
authorBrian Foster <bfoster@redhat.com>
Tue, 6 Nov 2012 14:50:39 +0000 (09:50 -0500)
committerBen Myers <bpm@sgi.com>
Thu, 8 Nov 2012 21:20:38 +0000 (15:20 -0600)
commita454f7428ffa03c8e1321124d9074101b7290be6
tree8dc1cdfb38dc100f844821e3122b0d4ec017f903
parent27b52867925e3aaed090063c1c58a7537e6373f3
xfs: support a tag-based inode_ag_iterator

Genericize xfs_inode_ag_walk() to support an optional radix tree tag
and args argument for the execute function. Create a new wrapper
called xfs_inode_ag_iterator_tag() that performs a tag based walk
of perag's and inodes.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h
fs/xfs/xfs_qm_syscalls.c