diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-01-10 18:53:34 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2026-01-15 14:38:25 -0500 |
| commit | d5811e6297f3fd9020ac31f51fc317dfdb260cb0 (patch) | |
| tree | b7660f90430787412f2fb9d575d0e68172d0b3b4 /tools/testing/ktest/examples/include | |
| parent | 803e18641fd444a614415711a5af53dcde21104b (diff) | |
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: b1817b18ff20 ("NFS: Protect against 'eof page pollution'")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/testing/ktest/examples/include')
0 files changed, 0 insertions, 0 deletions
