summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2022-08-29 19:53:41 +0300
committerSteve French <stfrench@microsoft.com>2022-08-31 01:10:29 +0300
commit3e3761f1ec7df67d88cfca5e2ea98538f529e645 (patch)
treec5698c7ca5121a5745e8c368ccc4dc7e03124ff4 /fs/cifs/smb2pdu.c
parent9c8b7a293f50253e694f19161c045817a938e551 (diff)
downloadlinux-3e3761f1ec7df67d88cfca5e2ea98538f529e645.tar.xz
smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait
When doing insert range and collapse range we should be writing out the cached pages for the ranges affected but not the whole file. Fixes: c3a72bb21320 ("smb3: Move the flush out of smb2_copychunk_range() into its callers") Cc: stable@vger.kernel.org Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
0 files changed, 0 insertions, 0 deletions