cifs: teach smb_send_rqst how to handle arrays of pages
authorJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:35 +0000 (16:20 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:31 +0000 (21:46 -0500)
commit97bc00b39408a4180eeeaa976d02d37121488997
tree99a139bd0a2a1bd93cd372caf8e9318e2a75043c
parentb8eed28375a43e1c9aaa9d15af2a052aae0d0725
cifs: teach smb_send_rqst how to handle arrays of pages

Add code that allows smb_send_rqst to send an array of pages after the
initial kvec array has been sent. For now, we simply kmap the page
array and send it using the standard smb_send_kvec function. Eventually,
we may want to convert this code to use kernel_sendpage under the hood
and avoid the kmap altogether for the page data.

Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/transport.c