diff options
author | David Howells <dhowells@redhat.com> | 2024-08-27 15:47:27 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-08-28 07:48:33 -0500 |
commit | 8101d6e112e2524e967368f920c404ae445a9757 (patch) | |
tree | 8c62010787075f9c89a10a9da2892d94d19f4a2c /drivers/usb/cdns3/cdns3-trace.h | |
parent | 1da29f2c39b67b846b74205c81bf0ccd96d34727 (diff) |
cifs: Fix copy offload to flush destination region
Fix cifs_file_copychunk_range() to flush the destination region before
invalidating it to avoid potential loss of data should the copy fail, in
whole or in part, in some way.
Fixes: 7b2404a886f8 ("cifs: Fix flushing, invalidation and file size with copy_file_range()")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <stfrench@microsoft.com>
cc: Paulo Alcantara <pc@manguebit.com>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Matthew Wilcox <willy@infradead.org>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-mm@kvack.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions