summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2015-08-05 13:00:02 +0300
committerChris Mason <clm@fb.com>2015-08-09 17:07:13 +0300
commit4b3576e450a1539492e26e2d7b1e2e69578c032e (patch)
tree65615cbf03efaa0a1304180d2f1ae00008c23a9a /tools/perf/util/scripting-engines/trace-event-python.c
parent55e3a601c81cdca4497bf855fa4d331f8e830744 (diff)
downloadlinux-4b3576e450a1539492e26e2d7b1e2e69578c032e.tar.xz
btrfs: Error handle for get_ref_objectid_v0() in relocate_block_group()
We need error checking code for get_ref_objectid_v0() in relocate_block_group(), to avoid unpredictable result, especially for accessing uninitialized value(when function failed) after this line. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions