Control: tags -1 + confirmed upstream

On Sun, Jan 12, 2025 at 06:03:02PM +0100, Johannes Schauer Marin Rodrigues 
wrote:
> Version: 2.40.3-1
[..]
> I don't know whether I'll find the time to write a patch for this but at
> least I'd like to track it somewhere. Steps to reproduce:
> 
>     $ fallocate -l 1024 test.img
>     $ fallocate --posix --insert-range --offset=0 --length=4096 test.img
>     $ ls -l test.img
>     -rw-r--r-- 1 root root 4096 Jan 12 16:57 test.img
> 
> The size of test.img should be 5120 bytes and not 4096. It works fine without
> --posix.

Can reproduce it here.

> If --insert-range is not supposed to work with --posix, then maybe
> that should be documented.

ISTM this is a plain bug in the --posix code path; I think --posix
should work exactly the same.

I think this should be reported upstream, but I didn't get to do
that yet.

Chris

Reply via email to