summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-05-03 19:43:57 +0200
committerShaohua Li <shli@fb.com>2016-05-09 09:23:23 -0700
commit092398dce8c2406bfb0c9eebc3e764ff2ddb62a8 (patch)
treeacd59a4aedd6a948955d31d8cfe007c52f0fec29 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbc47e84258be3e49c14be65a111f2117ecc986f6 (diff)
md: md.c: fix oops in mddev_suspend for raid0
Introduced by upstream commit 70d9798b95562abac005d4ba71d28820f9a201eb The raid0 personality does not create mddev->thread as oposed to other personalities leading to its unconditional access in mddev_suspend() causing an oops. Patch checks for mddev->thread in order to keep the intention of aforementioned commit. Fixes: 70d9798b9556 ("MD: warn for potential deadlock") Cc: stable@vger.kernel.org (4.5+) Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions