From: Joseph Qi Date: Tue, 14 Apr 2015 22:43:33 +0000 (-0700) Subject: ocfs2: fix possible uninitialized variable access X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=023d4ea358494ccfeb37abfe5b0fd01b45a6051c;p=pandora-kernel.git ocfs2: fix possible uninitialized variable access In ocfs2_local_alloc_find_clear_bits and ocfs2_get_dentry, variable numfound and set may be uninitialized and then used in tracepoint. In ocfs2_xattr_block_get and ocfs2_delete_xattr_in_bucket, variable block_off and xv may be uninitialized and then used in the following logic due to unchecked return value. This patch fixes these possible issues. Signed-off-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed