int ldm_partition (struct parsed_partitions * pp, struct block_device * bdev);
This determines whether the device bdev is a dynamic disk and if so creates the partitions necessary in the gendisk structure pointed to by hd.
We create a dummy device 1, which contains the LDM database, and then create each partition described by the LDM database in sequence as devices 2+. For example, if the device is hda, we would have: hda1: LDM database, hda2, hda3,
the actual data containing partitions.
1 Success, bdev is a dynamic disk and we handled it 0 Success, bdev is not a dynamic disk -1 An error occurred before enough information had been read Or bdev is a dynamic disk, but it may be corrupted