On Wed, Nov 02, 2005 at 09:14:52PM +1100, NeilBrown wrote: > > If a block_device is a partition, then it's kobject is > bdev->bd_part->kobj > otherwise (if it is a full device), the kobject is > bdev->bd_disk->kobj > > As md wants back-links to the correct object (whether partition or > not), we need to respect this difference... > (Thus current code shows a link to the whole device, whether we are > using a partition or not, which is wrong). > > Signed-off-by: Neil Brown <neilb@xxxxxxx> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx> - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html