]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
cifs: convert send code to use smb_rqst structs
authorJeff Layton <jlayton@redhat.com>
Tue, 18 Sep 2012 23:20:34 +0000 (16:20 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:31 +0000 (21:46 -0500)
commit6f49f46b187df34539f1e5df2469b8a541897700
tree60c2b50ced0a71357fd7747228e7b70b0169d13b
parent0b688cfc8b3472f5bad104abe0675a060e32ad7b
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