These 3 patches fix some bugs and clean up some crufty code with partitionable loop devices in newer kernels.
Phillip Susi (3): Remove loop_get_partition_range Remove has_partitions check to allow loopback partitions Use new BLKPG_GET_PARTITION ioctl to get partition start sector libparted/arch/linux.c | 108 ++++++++++++++++++----------------------------- 1 files changed, 41 insertions(+), 67 deletions(-) -- 1.7.5.4

