Files
Trond Myklebust d5811e6297 NFS: Fix size read races in truncate, fallocate and copy offload
If the pre-operation file size is read before locking the inode and
quiescing O_DIRECT writes, then nfs_truncate_last_folio() might end up
overwriting valid file data.

Fixes: b1817b18ff ("NFS: Protect against 'eof page pollution'")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2026-01-15 14:38:25 -05:00
..
2024-09-23 15:03:13 -04:00
2024-09-23 15:03:30 -04:00
2023-03-06 09:57:12 +01:00
2024-11-08 14:17:37 -05:00
2025-05-15 12:14:29 +02:00