[XFS] fix uninitialised variable bug in dquot release
authorDave Chinner <david@fromorbit.com>
Mon, 10 Nov 2008 06:11:18 +0000 (17:11 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Mon, 10 Nov 2008 06:11:18 +0000 (17:11 +1100)
commitcb4f0d1d4229f609f43c68acec69c7618ed72397
treecc96ac86a126c2a2055183e3d42a5be38087abbb
parentd44dab8d1cde8aeba1faf44a7654f90800feb7fc
[XFS] fix uninitialised variable bug in dquot release

gcc on ARM warns about an using an uninitialised variable
in xfs_qm_dqrele_all_inodes(). This is a real bug, but gcc
on x86_64 is not reporting this warning so it went unnoticed.

Fix the bug by bring the inode radix tree walk code up to
date with xfs_sync_inodes_ag().

SGI-PV: 987246

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/quota/xfs_qm_syscalls.c