summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-09-20 16:09:30 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-09-30 14:23:08 -0300
commitda4fe97fb6c730d9c94a115c7bfa6f98e0d578d0 (patch)
tree02bc03e81700a6fb3dd1843b330a0ebca5d2b77b /tools/lib/python/kdoc/python_version.py
parent35024595f641e790e24609f3f046e1667e3b280a (diff)
downloadlinux-next-da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0.tar.gz
linux-next-da4fe97fb6c730d9c94a115c7bfa6f98e0d578d0.zip
smb: client: discard post-EOF pagecache when extending a file via zero range
smb3_zero_range() removed the pagecache only for the range being zeroed, so when it extends the file the folio straddling the old EOF - which may hold data dirtied past EOF through an mmap - was never dropped and became visible as file content once the file was extended. Lower the discard boundary to the smaller of the zero-range offset and the old EOF. Fixes: 72c419d9b073 ("cifs: fix smb3_zero_range so it can expand the file-size when required") Reviewed-by: David Howells <dhowells@redhat.com> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Paulo Alcantara <pc@manguebit.org> Cc: Christian Brauner <brauner@kernel.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com> Cc: Shyam Prasad N <sprasad@microsoft.com> Cc: Tom Talpey <tom@talpey.com> Cc: Bharath SM <bharathsm@microsoft.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions