summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-10-19 15:28:17 -0400
committerJeff Layton <jlayton@redhat.com>2011-10-19 15:28:17 -0400
commit42c4dfc213190fafffc53815c2ee6064430bc379 (patch)
tree9d012e1c190f2e54324c7e44350e2b5bc28cfa0b /fs/cifs/cifsglob.h
parent7748dd6eab8e13f974d4664395e76afffacda04b (diff)
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