]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Introduce offset for the 1st page in data transfer structures
authorLong Li <longli@microsoft.com>
Wed, 30 May 2018 19:47:53 +0000 (12:47 -0700)
committerSteve French <stfrench@microsoft.com>
Wed, 30 May 2018 21:06:12 +0000 (16:06 -0500)
commit8f0466eff05dc8ee3080440f45637496ac313924
tree163f8fe332d7a52369cc2ff0e73a3c24f81a5e34
parent4cc2c44d458e77c590e296c49d69d1c846ac6574
CIFS: Introduce offset for the 1st page in data transfer structures

When direct I/O is used, the data buffer may not always align to page
boundaries. Introduce a page offset in transport data structures to
describe the location of the buffer within the page.

Also change the function to pass the page offset when sending data to
transport.

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