summaryrefslogtreecommitdiffstats
path: root/fs/cifs/nterr.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-02-01 14:40:43 +0100
committerSteve French <sfrench@us.ibm.com>2011-02-02 01:17:04 +0100
commit9587fcff42f5bece3c0a44066b079235ee73cbb3 (patch)
treed4af674931407f1ad9baf84391617eae4a6343c5 /fs/cifs/nterr.c
parentMerge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze (diff)
downloadlinux-9587fcff42f5bece3c0a44066b079235ee73cbb3.tar.xz
linux-9587fcff42f5bece3c0a44066b079235ee73cbb3.zip
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>
Diffstat (limited to 'fs/cifs/nterr.c')
0 files changed, 0 insertions, 0 deletions