]> 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)
commite163314af34ab8c75c5b0d25afcc52c13c032d1d
treed4d7969a9c3b7f92644c316fa6dd683d905dbe5a
parent7d1ab5b885adbd2ec53b5e71b903989a75d74040
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