Skip to content
Commit 859644f0 authored by Heinz Mauelshagen's avatar Heinz Mauelshagen Committed by Shaohua Li
Browse files

md: raid10: add prerequisite to run underneath dm-raid



In case md runs underneath the dm-raid target, the mddev does not have
a request queue or gendisk, thus avoid accesses to it.

This patch adds two missing conditionals to the raid10 personality.

Signed-of-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 092398dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment