aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBob Peterson <[email protected]>2020-11-24 10:44:36 -0500
committerAndreas Gruenbacher <[email protected]>2020-11-25 18:10:55 +0100
commit778721510e84209f78e31e2ccb296ae36d623f5e (patch)
tree96707ce63859f1cd210625c8b9da7701190d907a /tools/perf/scripts/python/netdev-times.py
parent515b269d5bd29a986d5e1c0a0cba87fa865a48b4 (diff)
gfs2: check for empty rgrp tree in gfs2_ri_update
If gfs2 tries to mount a (corrupt) file system that has no resource groups it still tries to set preferences on the first one, which causes a kernel null pointer dereference. This patch adds a check to function gfs2_ri_update so this condition is detected and reported back as an error. Reported-by: [email protected] Signed-off-by: Bob Peterson <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions