From: Allen Pais <allen.pais@xxxxxxxxxx> Date: Fri, 19 Sep 2014 09:42:26 -0400 > The LDom diskserver doesn't return reliable geometry data. In addition, > the types for all fields in the vio_disk_geom are u16, which were being > truncated in the cast into the u8's of the Linux struct hd_geometry. > > Modify vdc_getgeo() to compute the geometry from the disk's capacity in a > manner consistent with xen-blkfront::blkif_getgeo(). > > Signed-off-by: Dwight Engen <dwight.engen@xxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html