Change 2764 by gibbs@overdrive on 2004/02/16 18:07:25 md-2.6/fs/partitions/check.c: Notify MD of arriving block devices in addition to any partitions that are found on these devices. This will allow MD to probe for metadata formats that pertain to the whole device. Affected files ... ... //depot/md-2.6/fs/partitions/check.c#2 edit Differences ... ==== //depot/md-2.6/fs/partitions/check.c#2 (text) ==== @@ -352,6 +352,15 @@ return; disk_sysfs_symlinks(disk); +#ifdef CONFIG_BLK_DEV_MD + /* + * Announce the underlying block device to MD so it + * can probe for metadata formats that act on whole + * devices and not just partitions. + */ + md_autodetect_dev(MKDEV(disk->major, disk->first_minor)); +#endif + /* No minors to use for partitions */ if (disk->minors == 1) { if (disk->devfs_name[0] != '\0')