diff options
author | Dave Chinner <david@fromorbit.com> | 2008-11-28 04:23:34 +0100 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-01 01:11:36 +0100 |
commit | 0924b585fc49bf371bc700c23e516a538bf589af (patch) | |
tree | 9d53fce5e84c40804540e9ee0b98a96feb89e1cf /fs/xfs/xfs_bmap.c | |
parent | [XFS] fix error inversion problems with data flushing (diff) | |
download | linux-0924b585fc49bf371bc700c23e516a538bf589af.tar.xz linux-0924b585fc49bf371bc700c23e516a538bf589af.zip |
[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/xfs/xfs_bmap.c')
0 files changed, 0 insertions, 0 deletions