summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-01 10:23:11 +0200
committerChris Mason <chris.mason@oracle.com>2010-06-11 17:46:12 +0200
commit0e4dcbef1c0c3e29f9c7f824359445d385b2649a (patch)
treecb360bec033ae7bbf237aedd84528c83f2715d47 /fs/lockd
parentBtrfs: fix fallocate regression (diff)
downloadlinux-0e4dcbef1c0c3e29f9c7f824359445d385b2649a.tar.xz
linux-0e4dcbef1c0c3e29f9c7f824359445d385b2649a.zip
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 <error27@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions