mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
md: md.c: fix oops in mddev_suspend for raid0
Introduced by upstream commit70d9798b95The 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:70d9798b95("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>
This commit is contained in:
parent
bc47e84258
commit
092398dce8
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue