From: Dave Chinner Date: Fri, 28 Nov 2008 03:23:34 +0000 (+1100) Subject: [XFS] fix uninitialised variable bug in dquot release. X-Git-Tag: v2.6.29-rc1~552^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0924b585fc49bf371bc700c23e516a538bf589af;p=pandora-kernel.git [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 Reviewed-by: Christoph Hellwig Signed-off-by: Niv Sardi --- Reading git-diff-tree failed