summaryrefslogtreecommitdiffstats
path: root/fs/exofs/Kconfig
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-10-11 06:41:32 -0400
committerSteve French <smfrench@gmail.com>2011-10-13 00:05:59 -0500
commita52c1eb7ae79f0a11511d49cfc00d2f9e576abea (patch)
treeaa8fb47c90a18f9556b9db559ae29711da891c17 /fs/exofs/Kconfig
parent21fed0d5b763b94a7d1568c27d0cce892ab8d43e (diff)
downloadblackbird-op-linux-a52c1eb7ae79f0a11511d49cfc00d2f9e576abea.tar.gz
blackbird-op-linux-a52c1eb7ae79f0a11511d49cfc00d2f9e576abea.zip
cifs: simplify read_from_socket
Move the iovec handling entirely into read_from_socket. That simplifies the code and gets rid of the special handling for header reads. With this we can also get rid of the "goto incomplete_rcv" label in the main demultiplex thread function since we can now treat header and non-header receives the same way. Also, make it return an int (since we'll never receive enough to worry about the sign bit anyway), and simply make it return the amount of bytes read or a negative error code. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/exofs/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud