commit | 9587fcff42f5bece3c0a44066b079235ee73cbb3 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Tue Feb 01 08:40:43 2011 -0500 |
committer | Steve French <sfrench@us.ibm.com> | Wed Feb 02 00:17:04 2011 +0000 |
tree | d4af674931407f1ad9baf84391617eae4a6343c5 | |
parent | afe8a887550f7cc24eb16449670b93f6b43c32d8 [diff] |
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 <jlayton@redhat.com> Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>