]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
CIFS: Calculate the correct request length based on page offset and tail size
authorLong Li <longli@microsoft.com>
Wed, 30 May 2018 19:47:57 +0000 (12:47 -0700)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Jun 2018 22:39:46 +0000 (17:39 -0500)
commitc06a0f2dff704d9f734ff0d3d4812ccfc46ed8d0
tree40b00a77af1f00b706e2e515d3a781c08396e5c7
parentee25c6dd7b05113783ce1f4fab6b30fc00d29b8d
CIFS: Calculate the correct request length based on page offset and tail size

It's possible that the page offset is non-zero in the pages in a request,
change the function to calculate the correct data buffer length.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/transport.c