]> 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>
Mon, 6 Aug 2012 11:10:42 +0000 (07:10 -0400)
committerSteve French <smfrench@gmail.com>
Tue, 11 Sep 2012 03:13:56 +0000 (22:13 -0500)
commit69815ff94de74a6ea1716674d9d1d5af7b7fe74c
tree260527d6500f1600b4b1d2c49a06feaa78878434
parent67a4b2b2b4013508a4ab82d80e4ae9f2b78bc9d7
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