summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-cache-policy-internal.h
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2015-02-13 19:48:01 +0100
committerNeilBrown <neilb@suse.de>2015-04-22 08:00:41 +1000
commit753f2856cda2a130d38ebc3db97bff66c1ef3ca7 (patch)
tree1b390d200431d9f6291a428eb24b99eb796ea99d /drivers/md/dm-cache-policy-internal.h
parentac8fa4196d205ac8fff3f8932bddbad4f16e4110 (diff)
downloadop-kernel-dev-753f2856cda2a130d38ebc3db97bff66c1ef3ca7.zip
op-kernel-dev-753f2856cda2a130d38ebc3db97bff66c1ef3ca7.tar.gz
md raid0: access mddev->queue (request queue member) conditionally because it is not set when accessed from dm-raid
The patch makes 3 references to mddev->queue in the raid0 personality conditional in order to allow for it to be accessed from dm-raid. Mandatory, because md instances underneath dm-raid don't manage a request queue of their own which'd lead to oopses without the patch. 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 'drivers/md/dm-cache-policy-internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud