diff options
author | Dave Chinner <david@fromorbit.com> | 2008-11-28 14:23:34 +1100 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-01 11:11:36 +1100 |
commit | 0924b585fc49bf371bc700c23e516a538bf589af (patch) | |
tree | 9d53fce5e84c40804540e9ee0b98a96feb89e1cf /fs/configfs | |
parent | 2e6560929d8ab4b650fecc3a87013852b34f0922 (diff) | |
download | linux-0924b585fc49bf371bc700c23e516a538bf589af.tar.bz2 |
[XFS] fix uninitialised variable bug in dquot release.
gcc is warning about an uninitialised variable in xfs_growfs_rt().
This is a false positive. Fix it by changing the scope of the
transaction pointer to wholly within the internal loop inside
the function.
While there, preemptively change xfs_growfs_rt_alloc() in the
same way as it has exactly the same structure as xfs_growfs_rt()
but gcc is not warning about it. Yet.
Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions