提交 203cf2fc 编写于 作者: S Steve French

[CIFS] Fix readdir of large directories for backlevel servers

(were not setting all of resume key)
Signed-off-by: NSteve French <sfrench@us.ibm.com>
上级 18f75ca0
...@@ -946,6 +946,7 @@ static int cifs_save_resume_key(const char *current_entry, ...@@ -946,6 +946,7 @@ static int cifs_save_resume_key(const char *current_entry,
filename = &pFindData->FileName[0]; filename = &pFindData->FileName[0];
/* one byte length, no name conversion */ /* one byte length, no name conversion */
len = (unsigned int)pFindData->FileNameLength; len = (unsigned int)pFindData->FileNameLength;
cifsFile->srch_inf.resume_key = pFindData->ResumeKey;
} else { } else {
cFYI(1,("Unknown findfirst level %d",level)); cFYI(1,("Unknown findfirst level %d",level));
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册