aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-08-27 15:47:27 +0100
committerSteve French <[email protected]>2024-08-28 07:48:33 -0500
commit8101d6e112e2524e967368f920c404ae445a9757 (patch)
tree8c62010787075f9c89a10a9da2892d94d19f4a2c /rust/helpers.c
parent1da29f2c39b67b846b74205c81bf0ccd96d34727 (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 <[email protected]> cc: Steve French <[email protected]> cc: Paulo Alcantara <[email protected]> cc: Shyam Prasad N <[email protected]> cc: Rohith Surabattula <[email protected]> cc: Matthew Wilcox <[email protected]> cc: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions