aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2017-10-30 17:14:38 +0000
committerDavid Sterba <[email protected]>2017-11-15 13:47:01 +0000
commit56a0e706fcf870270878d6d72b71092ae42d229c (patch)
treeb805b64c6152ce3c2f228405e62847960601bed2 /tools/perf/scripts/python/sched-migration.py
parentbtrfs: dev_alloc_list is not protected by RCU, use normal list_del (diff)
downloadkernel-56a0e706fcf870270878d6d72b71092ae42d229c.tar.gz
kernel-56a0e706fcf870270878d6d72b71092ae42d229c.zip
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 <[email protected]> Reported-by: Guillaume Bouchard <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions