diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2014-10-29 19:02:27 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-10-29 14:53:27 -0400 |
commit | d20c4b08be822ab1c5d333297f38f1b532d3febc (patch) | |
tree | 82de1747b623d3d37a59b07762fd473c0c2501e6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 40d43c4b4cac4c2647bf07110d7b07d35f399a84 (diff) |
dm raid: fix inaccessible superblocks causing oops in configure_discard_support
Commit 48cf06bc5f ("dm raid: add discard support for RAID levels 4, 5
and 6") did not properly handle missing metadata device(s). A failing
read of the superblock causes the metadata and data devices to be
removed from the dev array in struct raid_set, setting references to
both devices to NULL. configure_discard_support() nonetheless tries to
access the data dev unconditionally causing an oops.
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions