diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2015-02-13 21:48:01 +0300 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-22 01:00:41 +0300 |
commit | 753f2856cda2a130d38ebc3db97bff66c1ef3ca7 (patch) | |
tree | 1b390d200431d9f6291a428eb24b99eb796ea99d /drivers/md/dm-cache-metadata.h | |
parent | ac8fa4196d205ac8fff3f8932bddbad4f16e4110 (diff) | |
download | linux-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-metadata.h')
0 files changed, 0 insertions, 0 deletions