CIFS: Use offset when reading pages
With offset defined in rdata, transport functions need to look at this offset when reading data into the correct places in pages. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com>
此提交包含在:
@@ -2483,7 +2483,7 @@ read_data_into_pages(struct TCP_Server_Info *server, struct page **pages,
|
||||
zero_user(page, len, PAGE_SIZE - len);
|
||||
len = 0;
|
||||
}
|
||||
length = cifs_read_page_from_socket(server, page, n);
|
||||
length = cifs_read_page_from_socket(server, page, 0, n);
|
||||
if (length < 0)
|
||||
return length;
|
||||
server->total_read += length;
|
||||
|
新增問題並參考
封鎖使用者