summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-block-types.h
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2015-02-13 21:48:01 +0300
committerNeilBrown <neilb@suse.de>2015-04-22 01:00:41 +0300
commit753f2856cda2a130d38ebc3db97bff66c1ef3ca7 (patch)
tree1b390d200431d9f6291a428eb24b99eb796ea99d /drivers/md/dm-cache-block-types.h
parentac8fa4196d205ac8fff3f8932bddbad4f16e4110 (diff)
downloadlinux-753f2856cda2a130d38ebc3db97bff66c1ef3ca7.tar.xz
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-block-types.h')
0 files changed, 0 insertions, 0 deletions