Re: [PATCH 0/4] 9pfs: Fix ftruncate-after-unlink

2025-03-11 Thread Christian Schoenebeck
On Monday, March 10, 2025 6:10:57 PM CET Greg Kurz wrote: > QEMU 9.2 already fixed the long standing limitation of failing fstat() on > unlinked files. This series does something similar for ftruncate(). > > The following program can be straced inside the guest with a shared fs in > passthrough mo

[PATCH 0/4] 9pfs: Fix ftruncate-after-unlink

2025-03-10 Thread Greg Kurz
QEMU 9.2 already fixed the long standing limitation of failing fstat() on unlinked files. This series does something similar for ftruncate(). The following program can be straced inside the guest with a shared fs in passthrough mode over 9p2000.L. int main(void) { struct stat st;