From: Dave Chinner Date: Tue, 19 Jan 2010 23:50:06 +0000 (+1100) Subject: xfs: suppress spurious uninitialised var warning in xfs_bmapi() X-Git-Tag: v2.6.34-rc1~278^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a0eaa8da08ebc6519cacd731df05bbb4ca47ce;p=pandora-kernel.git xfs: suppress spurious uninitialised var warning in xfs_bmapi() Initialise the xfs_bmalloca_t structure to zero to avoid uninitialised variable warnings. This is done by zeroing the arg structure rather than using the uninitialised_var() trick so we know for certain that the structure is correctly initialised as xfs_bmapi is a very complex function and it is difficult to prove warnings are spurious. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed