From: Dan Carpenter Date: Tue, 1 Jun 2010 08:23:11 +0000 (+0000) Subject: Btrfs: uninitialized data is check_path_shared() X-Git-Tag: v2.6.35-rc3~3^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4dcbef1c0c3e29f9c7f824359445d385b2649a;p=pandora-kernel.git Btrfs: uninitialized data is check_path_shared() refs can be used with uninitialized data if btrfs_lookup_extent_info() fails on the first pass through the loop. In the original code if that happens then check_path_shared() probably returns 1, this patch changes it to return 1 for safety. Signed-off-by: Dan Carpenter Signed-off-by: Chris Mason --- Reading git-diff-tree failed