aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-05-03 19:43:24 +0200
committerShaohua Li <shli@fb.com>2016-05-09 09:24:01 -0700
commit859644f0fa2141b5f7db0e3744999ec3bb5719d3 (patch)
tree22d69e0c48a8336b1a90583a02aae779ae6bb02d /lib/string_helpers.c
parentmd: md.c: fix oops in mddev_suspend for raid0 (diff)
downloadlinux-dev-859644f0fa2141b5f7db0e3744999ec3bb5719d3.tar.xz
linux-dev-859644f0fa2141b5f7db0e3744999ec3bb5719d3.zip
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions