diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2025-09-25 21:15:20 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-09-30 21:37:54 -0500 |
commit | c20988c21751ef67df4191e262675e231610e9ab (patch) | |
tree | 45251f2e4f5194343ba1207191e99b169611e94a /fs/ext4/fast_commit.c | |
parent | 3677ca67b9791481af16d86e47c3c7d1f2442f95 (diff) |
ksmbd: copy overlapped range within the same file
cifs.ko request to copy overlapped range within the same file.
ksmbd is using vfs_copy_file_range for this, vfs_copy_file_range() does not
allow overlapped copying within the same file.
This patch use do_splice_direct() if offset and length are overlapped.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions