xfs: use generic inode iterator in xfs_qm_dqrele_all_inodes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2009 13:35:27 +0000 (15:35 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Mon, 8 Jun 2009 13:35:27 +0000 (15:35 +0200)
commitfe588ed32867b42e0d906db558ca92fd9f8b128e
tree4d5c6a5e34ebf1a0c2a82d3d1c08c272d5823264
parent75f3cb1393133682958db6f157e1b6473e5a366b
xfs: use generic inode iterator in xfs_qm_dqrele_all_inodes

Use xfs_inode_ag_iterator instead of opencoding the inode walk in the
quota code.  Mark xfs_inode_ag_iterator and xfs_sync_inode_valid non-static
to allow using them from the quota code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
fs/xfs/linux-2.6/xfs_sync.c
fs/xfs/linux-2.6/xfs_sync.h
fs/xfs/quota/xfs_qm_syscalls.c