cifs: abstract out function to marshal the iovec for readv receives
authorJeff Layton <jlayton@redhat.com>
Wed, 16 May 2012 11:13:16 +0000 (07:13 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 17 May 2012 01:13:29 +0000 (20:13 -0500)
commit8d5ce4d23c79e0f9861b19fc534f5b2dc636f79c
tree5f9583d0b3d63e142ec4bbda6058da906a8273f6
parent0471ca3fe481cf5ff0ae24c7003f4d9086a02791
cifs: abstract out function to marshal the iovec for readv receives

Cached and uncached reads will need to do different things here to
handle the difference when the pages are in pagecache and not. Abstract
out the function that marshals the page list into a kvec array.

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