]> 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)
commita60c160a853d00d90cd18c41bb2c78f4d4fc6433
treea17499125a7b605275034d9dbbdf76911c1b5a0d
parent7fa6c1f2dcd7a52d4ee459f1680ef88849d00c87
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