md: allow extended partitions on md devices.

The new extended partition support provides a much nicer was
to have partitions on md devices that the 'mdp' alternate major.
We cannot really get rid of 'mdp' at this time, but we can
enable extended partitions as that will probably make life
easier for sysadmins.

Signed-off-by: NeilBrown <neilb@suse.de>

NeilBrown 92850bbd 3c0ee63a

+5
+5
drivers/md/md.c
··· 3463 3463 disk->fops = &md_fops; 3464 3464 disk->private_data = mddev; 3465 3465 disk->queue = mddev->queue; 3466 + /* Allow extended partitions. This makes the 3467 + * 'mdp' device redundant, but we can really 3468 + * remove it now. 3469 + */ 3470 + disk->flags |= GENHD_FL_EXT_DEVT; 3466 3471 add_disk(disk); 3467 3472 mddev->gendisk = disk; 3468 3473 error = kobject_init_and_add(&mddev->kobj, &md_ktype,