Commit 203cf2fc authored by Steve French's avatar Steve French

[CIFS] Fix readdir of large directories for backlevel servers

(were not setting all of resume key)
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment