cifs: convert async read code to use pages array without kmapping
authorJeff Layton <jlayton@redhat.com>
Wed, 19 Sep 2012 13:22:32 +0000 (06:22 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 25 Sep 2012 02:46:32 +0000 (21:46 -0500)
commit8321fec436050b586cee448f2da0a6999e5172dd
treeee361f0ea1ca398158f7ccc71e2dc4ae4b9b89b0
parentc5fab6f4f081afcfcd7c1d444d9b900d6ef3e50b
cifs: convert async read code to use pages array without kmapping

Replace the "marshal_iov" function with a "read_into_pages" function.
That function will copy the read data off the socket and into the
pages array, kmapping and reading pages one at a time.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/cifsglob.h
fs/cifs/cifssmb.c
fs/cifs/file.c
fs/cifs/smb2pdu.c