diff options
| author | David Howells <[email protected]> | 2024-08-27 14:47:27 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2024-08-28 12:48:33 +0000 |
| commit | 8101d6e112e2524e967368f920c404ae445a9757 (patch) | |
| tree | 8c62010787075f9c89a10a9da2892d94d19f4a2c /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | netfs, cifs: Fix handling of short DIO read (diff) | |
| download | kernel-8101d6e112e2524e967368f920c404ae445a9757.tar.gz kernel-8101d6e112e2524e967368f920c404ae445a9757.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
