]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Use a bvec rather than a kvec in afs_send_pages()
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:46 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:46 +0000 (16:27 +0000)
commit1449b0ce21f7eb68490ef178e350c78d091fe1ef
tree5515c858d10018e6e566a3e62d947c1d14d49d01
parent9034f7fa8216b24d05fede04664528fd308c6f45
afs: Use a bvec rather than a kvec in afs_send_pages()

Use a bvec rather than a kvec in afs_send_pages() as we don't then have to
call kmap() in advance.  This allows us to pass the array of contiguous
pages that we extracted through to rxrpc in one go rather than passing a
single page at a time.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/rxrpc.c