+6
−4
+2
−0
+19
−10
Loading
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: b1817b18 ("NFS: Protect against 'eof page pollution'") Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com>