CIFS: Count got bytes in read_into_pages()
that let us know how many bytes we have already got before reconnect. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:

committed by
Steve French

parent
34a54d6177
commit
b3160aebb4
@@ -1513,7 +1513,6 @@ cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid)
|
||||
return length;
|
||||
|
||||
server->total_read += length;
|
||||
rdata->got_bytes = length;
|
||||
|
||||
cifs_dbg(FYI, "total_read=%u buflen=%u remaining=%u\n",
|
||||
server->total_read, buflen, data_len);
|
||||
|
Reference in New Issue
Block a user