From: Pavel Shilovsky Date: Mon, 1 Aug 2011 09:19:41 +0000 (+0400) Subject: CIFS: Simplify socket reading in demultiplex thread X-Git-Tag: v3.1-rc1~96^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7015fb1c508fe9b8c97707755ce08f5ace0afb9;p=pandora-kernel.git CIFS: Simplify socket reading in demultiplex thread Move reading to separate function and remove csocket variable. Also change semantic in a little: goto incomplete_rcv only when we get -EAGAIN (or a familiar error) while reading rfc1002 header. In this case we don't check for echo timeout when we don't get whole header at once, as it was before. Reviewed-and-Tested-by: Jeff Layton Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed