diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:28:17 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2011-10-19 15:28:17 -0400 |
commit | 42c4dfc213190fafffc53815c2ee6064430bc379 (patch) | |
tree | 9d012e1c190f2e54324c7e44350e2b5bc28cfa0b /fs/cifs/cifsglob.h | |
parent | 7748dd6eab8e13f974d4664395e76afffacda04b (diff) | |
download | op-kernel-dev-42c4dfc213190fafffc53815c2ee6064430bc379.zip op-kernel-dev-42c4dfc213190fafffc53815c2ee6064430bc379.tar.gz |
cifs: turn read_from_socket into a wrapper around a vectorized version
Eventually we'll want to allow cifsd to read data directly into the
pagecache. In order to do that we'll need a routine that can take a
kvec array and pass that directly to kernel_recvmsg.
Unfortunately though, the kernel's recvmsg routines modify the kvec
array that gets passed in, so we need to use a copy of the kvec array
and refresh that copy on each pass through the loop.
Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
0 files changed, 0 insertions, 0 deletions