]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit919e1b12d019f537feceecb0ca5cb64b923cd710
tree5f9583d0b3d63e142ec4bbda6058da906a8273f6
parent883e6531a67d3851e9380d89836338d15f21397c
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