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

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

rdata is still 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/file.c