aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-06-08 09:35:27 -0400
committerChristoph Hellwig <hch@brick.lst.de>2009-06-08 09:35:27 -0400
commitfe588ed32867b42e0d906db558ca92fd9f8b128e (patch)
tree4d5c6a5e34ebf1a0c2a82d3d1c08c272d5823264 /fs/xfs/linux-2.6/xfs_sync.h
parent75f3cb1393133682958db6f157e1b6473e5a366b (diff)
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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_sync.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.h b/fs/xfs/linux-2.6/xfs_sync.h
index d7b2b5f1c387..9bb1253a4023 100644
--- a/fs/xfs/linux-2.6/xfs_sync.h
+++ b/fs/xfs/linux-2.6/xfs_sync.h
@@ -54,4 +54,10 @@ void xfs_inode_set_reclaim_tag(struct xfs_inode *ip);
54void xfs_inode_clear_reclaim_tag(struct xfs_inode *ip); 54void xfs_inode_clear_reclaim_tag(struct xfs_inode *ip);
55void __xfs_inode_clear_reclaim_tag(struct xfs_mount *mp, struct xfs_perag *pag, 55void __xfs_inode_clear_reclaim_tag(struct xfs_mount *mp, struct xfs_perag *pag,
56 struct xfs_inode *ip); 56 struct xfs_inode *ip);
57
58int xfs_sync_inode_valid(struct xfs_inode *ip, struct xfs_perag *pag);
59int xfs_inode_ag_iterator(struct xfs_mount *mp,
60 int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, int flags),
61 int flags, int tag);
62
57#endif 63#endif