]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit8e7360f67e75e06f3ea144354243728fb8f54c57
treea17499125a7b605275034d9dbbdf76911c1b5a0d
parent1dbe3466b4d26078d907c64e2b68faed5dc58854
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