[LTP] [PATCH v3] ioctl_loop01.c: Use proper device for partitioning

Petr Vorel pvorel@suse.cz
Wed Sep 3 14:48:43 CEST 2025


Hi Wei,

> This is same patch used on ioctl09,the page cache of loop0 can cache old
> version of the partition table which is then used by the partitioning
> code. Fix the problem by calling parted against the loop device directly.
> More detail see patch [1].

> [1] https://lore.kernel.org/ltp/20250829141932.31997-1-jack@suse.cz/

Thanks! Indeed I'm not able to trigger the problem any more.
Tested-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list