]> err.no Git - linux-2.6/commit
[PATCH] Fix two ext[23] uninitialized warnings
authorAndreas Gruenbacher <agruen@suse.de>
Fri, 3 Feb 2006 11:04:13 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:05 +0000 (08:32 -0800)
commitdfa08592ca0440d793ecc8dfc6277dd2aa4b8dda
tree93bcf1323962aba32957093d6f04c0c8cdbb41fe
parent9d923a0603b5909a6758cfaec503955775cb7ab1
[PATCH] Fix two ext[23] uninitialized warnings

There is a code path that passed size to ext2_xattr_set
(ext3_xattr_set_handle) before initializing it.  The callees don't use the
value in that case, but gcc cannot tell.  Always initialize size to get rid
of the warnings.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/acl.c
fs/ext3/acl.c