]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a350a3abff5e21b959a9e671bc3031da4b9a3f5
tree8dc1cdfb38dc100f844821e3122b0d4ec017f903
parent7ebc5c1966f5a6f4c64c5852fe3fddaa4261b34d
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