xfs: suppress spurious uninitialised var warning in xfs_bmapi()
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:50:06 +0000 (10:50 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:50:06 +0000 (10:50 +1100)
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 <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

No differences found