diff options
author | Dave Chinner <david@fromorbit.com> | 2010-01-20 00:50:06 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-01-20 00:50:06 +0100 |
commit | f0a0eaa8da08ebc6519cacd731df05bbb4ca47ce (patch) | |
tree | f737e6bd6c36a234b4046d8a42e426c306fd5626 /fs/filesystems.c | |
parent | xfs: make compile warn about char sign mismatches again (diff) | |
download | linux-f0a0eaa8da08ebc6519cacd731df05bbb4ca47ce.tar.xz linux-f0a0eaa8da08ebc6519cacd731df05bbb4ca47ce.zip |
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 <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions