diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2015-05-08 18:19:03 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-08 18:39:40 +1000 |
commit | b6538fe32966e63ef38897860ef220980d904974 (patch) | |
tree | eb4936369829f3e6f2233b621f2138f42d929ee3 /samples/kobject | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 (diff) |
md-raid0: conditional mddev->queue access to suit dm-raid
This patch is a prerequisite for dm-raid "raid0" support to allow
dm-raid to access the MD RAID0 personality doing unconditional
accesses to mddev->queue, which is NULL in case of dm-raid stacked on
top of MD.
Most of the conditional mddev->queue accesses made it to upstream but
this missing one, which prohibits md raid0 to set disk stack limits
(being done in dm core in case of md underneath dm).
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Tested-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions