summaryrefslogtreecommitdiff
path: root/fs/cifs/transport.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-09-18 23:20:35 (GMT)
committerSteve French <smfrench@gmail.com>2012-09-25 02:46:31 (GMT)
commitfb308a6f22f7f4f3574dab6b36c4a3598e50cf05 (patch)
treefa948996f96a226db3ec0a8b3175bdc877115458 /fs/cifs/transport.c
parent97bc00b39408a4180eeeaa976d02d37121488997 (diff)
downloadlinux-fsl-qoriq-fb308a6f22f7f4f3574dab6b36c4a3598e50cf05.tar.xz
cifs: teach signing routines how to deal with arrays of pages in a smb_rqst
Use the smb_send_rqst helper function to kmap each page in the array and update the hash for that chunk. Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r--fs/cifs/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c
index 381dbb7..b609734 100644
--- a/fs/cifs/transport.c
+++ b/fs/cifs/transport.c
@@ -251,7 +251,7 @@ smb_send_kvec(struct TCP_Server_Info *server, struct kvec *iov, size_t n_vec,
* The page will be kmapped and the address placed into iov_base. The length
* will then be adjusted according to the ptailoff.
*/
-static void
+void
cifs_rqst_page_to_kvec(struct smb_rqst *rqst, unsigned int idx,
struct kvec *iov)
{