diff options
author | Dan Carpenter <[email protected]> | 2010-06-01 08:23:11 +0000 |
---|---|---|
committer | Chris Mason <[email protected]> | 2010-06-11 11:46:12 -0400 |
commit | 0e4dcbef1c0c3e29f9c7f824359445d385b2649a (patch) | |
tree | cb360bec033ae7bbf237aedd84528c83f2715d47 /tools/perf/util/trace-event-scripting.c | |
parent | 836097797236fd727f82ec2f3f376ac41a430876 (diff) |
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions