]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Add copy into pages callback for a read operation
authorPavel Shilovsky <pshilov@microsoft.com>
Fri, 18 Nov 2016 00:20:18 +0000 (16:20 -0800)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:36 +0000 (16:46 -0600)
commitd70b9104b1ca586f73aaf59426756cec3325a40e
tree82a1466d1c5ce26254f350b8e18a434cb4fa52c0
parent9b7c18a2d4b798963ea80f6769701dcc4c24b55e
CIFS: Add copy into pages callback for a read operation

Since we have two different types of reads (pagecache and direct)
we need to process such responses differently after decryption of
a packet. The change allows to specify a callback that copies a read
payload data into preallocated pages.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/file.c