[XFS] Traverse inode trees when releasing dquots
authorDavid Chinner <david@fromorbit.com>
Thu, 30 Oct 2008 06:08:03 +0000 (17:08 +1100)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 30 Oct 2008 06:08:03 +0000 (17:08 +1100)
commit5b4d89ae0f5ae45c7fa1dfc616fd2bb8634bb7b7
tree3dd6c2d0fc0072a822692fc3ea2a9e6cc8a6f5f5
parent683a897080a053733778b36398186cb1b22c377f
[XFS] Traverse inode trees when releasing dquots

Make releasing all inode dquots traverse the per-ag inode radix trees
rather than the mount inode list. This removes another user of the mount
inode list.

Version 3 o fix comment relating to avoiding trying to release the

quota inodes and those in reclaim.

Version 2 o add comment explaining use of gang lookups for a single inode
o use IRELE, not VN_RELE o move check for ag initialisation to caller.

SGI-PV: 988139

SGI-Modid: xfs-linux-melb:xfs-kern:32291a

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/quota/xfs_qm_syscalls.c