From: Jeff Layton Date: Tue, 1 Feb 2011 13:40:43 +0000 (-0500) Subject: cifs: fix length vs. total_read confusion in cifs_demultiplex_thread X-Git-Tag: v2.6.38-rc4~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9587fcff42f5bece3c0a44066b079235ee73cbb3;p=pandora-kernel.git cifs: fix length vs. total_read confusion in cifs_demultiplex_thread length at this point is the length returned by the last kernel_recvmsg call. total_read is the length of all of the data read so far. length is more or less meaningless at this point, so use total_read for everything. Signed-off-by: Jeff Layton Reviewed-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed