]> 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 <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:08 +0000 (09:44 -0500)
commit523010c65d74dcb80212f91ffa3b767489c59036
tree8def849be5ea1f8ac3936940f41bb73e28795b37
parent436a0078eedf753d606044fa84ea8c223989f4f1
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