aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-10-30 11:14:38 -0600
committerDavid Sterba <dsterba@suse.com>2017-11-15 14:47:01 +0100
commit56a0e706fcf870270878d6d72b71092ae42d229c (patch)
treeb805b64c6152ce3c2f228405e62847960601bed2 /tools/perf/scripts/python/call-graph-from-sql.py
parent619c47f3d4cd7a60576fd15e133a2eee4fcc0c4e (diff)
Btrfs: bail out gracefully rather than BUG_ON
If a file's DIR_ITEM key is invalid (due to memory errors) and gets written to disk, a future lookup_path can end up with kernel panic due to BUG_ON(). This gets rid of the BUG_ON(), meanwhile output the corrupted key and return ENOENT if it's invalid. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reported-by: Guillaume Bouchard <bouchard@mercs-eng.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions