]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Add support for direct pages in wdata
authorLong Li <longli@microsoft.com>
Wed, 30 May 2018 19:47:56 +0000 (12:47 -0700)
committerSteve French <smfrench@gmail.com>
Sat, 2 Jun 2018 23:36:26 +0000 (18:36 -0500)
commit5dde648f05887c7c668ba1ad22d2a26056d69f52
treea17499125a7b605275034d9dbbdf76911c1b5a0d
parent5bc669486e5a91919fdd25e6185f71e5e3fe1b0c
CIFS: Add support for direct pages in wdata

Add a function to allocate wdata without allocating pages for data
transfer. This gives the caller an option to pass a number of pages that
point to the data buffer to write to.

wdata is reponsible for free those pages after it's done.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c