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)
commit57a929a66f5a7c9363b1caa63db2bd9a3ffa6e49
tree163f8fe332d7a52369cc2ff0e73a3c24f81a5e34
parenteccb4422cf97a4b0daf97b3f3d68044514fea7bd
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