]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: convert send code to use smb_rqst structs
authorJeff Layton <jlayton@redhat.com>
Mon, 6 Aug 2012 11:10:47 +0000 (07:10 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:09 +0000 (09:44 -0500)
commit0858b93651f7f963548a69eaa07e5077e6c8f536
tree74c827a36a82f6a28ef123ba1f14873608c1b070
parent102356bc27685ba873b45360b2dbac2f76f95310
cifs: convert send code to use smb_rqst structs

Again, just a change in the arguments and some function renaming here.
In later patches, we'll change this code to deal with page arrays.

In this patch, we add a new smb_send_rqst wrapper and have smb_sendv
call that. Then we move most of the existing smb_sendv code into a new
function -- smb_send_kvec. This seems a little redundant, but later
we'll flesh this out 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/transport.c