diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2016-05-03 17:43:24 (GMT) |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-05-09 16:24:01 (GMT) |
commit | 859644f0fa2141b5f7db0e3744999ec3bb5719d3 (patch) | |
tree | 22d69e0c48a8336b1a90583a02aae779ae6bb02d /drivers/infiniband/hw/qib | |
parent | 092398dce8c2406bfb0c9eebc3e764ff2ddb62a8 (diff) | |
download | linux-859644f0fa2141b5f7db0e3744999ec3bb5719d3.tar.xz |
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: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions