diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-10-31 00:42:30 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-31 00:42:30 (GMT) |
commit | ed30be077e705e0dff53bfc51d23feb8aeeab78f (patch) | |
tree | bd57d2636bbe5d757549fc6dde8d2b93643bb4f2 /include/xen/grant_table.h | |
parent | 02b898f2f04e418094f0093a3ad0b415bcdbe8eb (diff) | |
download | linux-ed30be077e705e0dff53bfc51d23feb8aeeab78f.tar.xz |
MD RAID10: Fix oops when creating RAID10 arrays via dm-raid.c
Commit 2863b9eb didn't take into account the changes to add TRIM support to
RAID10 (commit 532a2a3fb). That is, when using dm-raid.c to create the
RAID10 arrays, there is no mddev->gendisk or mddev->queue. The code added
to support TRIM simply assumes that mddev->queue is available without
checking. The result is an oops any time dm-raid.c attempts to create a
RAID10 device.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/xen/grant_table.h')
0 files changed, 0 insertions, 0 deletions