]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit2f5705a5c805e7f761f2228820656bb9363a3d8c
tree5515c858d10018e6e566a3e62d947c1d14d49d01
parent6a0e3999e5cb3daa0468073fcdee0767422a4056
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