summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2016-05-03 22:15:31 +0200
committerShaohua Li <shli@fb.com>2016-05-09 09:24:02 -0700
commitfe67d19a2d7b31f1c29efbe1819c921d4a9bb012 (patch)
treebf491b1752b31fbce3f97fbf172dd600af667947 /drivers/md/md.c
parent859644f0fa2141b5f7db0e3744999ec3bb5719d3 (diff)
downloadop-kernel-dev-fe67d19a2d7b31f1c29efbe1819c921d4a9bb012.zip
op-kernel-dev-fe67d19a2d7b31f1c29efbe1819c921d4a9bb012.tar.gz
md: raid5: 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. This patch adds a missing conditional to the raid5 personality. Signed-of-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud