diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-09-18 16:20:35 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-24 21:46:31 -0500 |
commit | fb308a6f22f7f4f3574dab6b36c4a3598e50cf05 (patch) | |
tree | fa948996f96a226db3ec0a8b3175bdc877115458 /fs/cifs/cifsproto.h | |
parent | 97bc00b39408a4180eeeaa976d02d37121488997 (diff) | |
download | lwn-fb308a6f22f7f4f3574dab6b36c4a3598e50cf05.tar.gz lwn-fb308a6f22f7f4f3574dab6b36c4a3598e50cf05.zip |
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/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 8e071a5a7da4..e97a1843ab98 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -36,6 +36,8 @@ extern struct smb_hdr *cifs_buf_get(void); extern void cifs_buf_release(void *); extern struct smb_hdr *cifs_small_buf_get(void); extern void cifs_small_buf_release(void *); +extern void cifs_rqst_page_to_kvec(struct smb_rqst *rqst, unsigned int idx, + struct kvec *iov); extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, unsigned int /* length */); extern unsigned int _get_xid(void); |