diff options
author | Pawel Witek <pawel.ireneusz.witek@gmail.com> | 2023-05-05 17:14:59 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-08 12:00:47 -0500 |
commit | d66cde50c3c868af7abddafce701bb86e4a93039 (patch) | |
tree | 5ec431da01df903ce9e76e66463dcd9a2a114106 /fs/hfsplus | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
cifs: fix pcchunk length type in smb2_copychunk_range
Change type of pcchunk->Length from u32 to u64 to match
smb2_copychunk_range arguments type. Fixes the problem where performing
server-side copy with CIFS_IOC_COPYCHUNK_FILE ioctl resulted in incomplete
copy of large files while returning -EINVAL.
Fixes: 9bf0c9cd4314 ("CIFS: Fix SMB2/SMB3 Copy offload support (refcopy) for large files")
Cc: <stable@vger.kernel.org>
Signed-off-by: Pawel Witek <pawel.ireneusz.witek@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions