Subject: bug#43362: SOLVED

From: Curtis Gedak <[email-masked]>
Date: Mon, 14 Sep 2020 10:29:34 -0600

The regression in the kernel was reversed.

See
https://gitlab.gnome.org/GNOME/gparted/-/issues/111

Regards,
Curtis

On 2020-09-14 10:25 a.m., Brian C. Lane wrote:
> On Sun, Sep 13, 2020 at 05:51:50PM +0200, Bureau wrote:
>>
>> Hello,
>>
>> After digging in the kernel, it is a new kernel feature.
>>
>> In kernel source files :
>>
>> block/partitions/core.c
>>
>> have been changed.
>>
>> To get parted-3.3 working again, in the source code of parted-3.3, 
>> modify the file:
>>
>> libparted/arch/linux.c
>>
>> in the function :
>>
>> static int _disk_sync_part_table()
>>
>> line 3203, replace :
>>
>> if (ok [i - 1] || errnums [i - 1] == ENXIO
>> by
>> if (ok [i - 1] || errnums [i - 1] == ENOMEM
>>
>> Accordingly to the changes made in block/partitions/core.c
>> That is making parted working again.
> 
> Thanks for tracking that down.
>