]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: change signing routines to deal with smb_rqst structs
authorJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:34 +0000 (16:20 -0700)
committerJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:34 +0000 (16:20 -0700)
commit4dfce47961e990b804033aebe678437ef567276d
treee34574cc239f360a660cb17e5204c21ef293ceae
parentb8a5b0bd2796f0236436bb3ae1deca40fa89df94
cifs: change signing routines to deal with smb_rqst structs

We need a way to represent a call to be sent on the wire that does not
require having all of the page data kmapped. Behold the smb_rqst struct.
This new struct represents an array of kvecs immediately followed by an
array of pages.

Convert the signing routines to use these structs under the hood and
turn the existing functions for this into wrappers around that. For now,
we're just changing these functions to take different args. Later, we'll
teach them how to deal with arrays of pages.

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/cifsencrypt.c
fs/cifs/cifsglob.h
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/transport.c