]> git.baikalelectronics.ru Git - kernel.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)
commita7664af2391948823d17a80f908b1b101a46fe98
tree60c2b50ced0a71357fd7747228e7b70b0169d13b
parent151a08e6aabd9d4965faf2182436e8ab2b1d0c81
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