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

2025-03-18 Thread Christian Schoenebeck
On Wednesday, March 12, 2025 4:29:26 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

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

2025-03-12 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;