On 08/04/2020 21:45, Christoph Hellwig wrote: > + case BLKPG_DEL_PARTITION: > + return bdev_resize_partition(bdev, p.pno, start, length); This needs to be BLKPG_RESIZE_PARTITION.
On 08/04/2020 21:45, Christoph Hellwig wrote: > + case BLKPG_DEL_PARTITION: > + return bdev_resize_partition(bdev, p.pno, start, length); This needs to be BLKPG_RESIZE_PARTITION.