Skip to content

Commit

Permalink
[CIFS] Fix readdir of large directories for backlevel servers
Browse files Browse the repository at this point in the history
(were not setting all of resume key)

Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Steve French committed Oct 1, 2006
1 parent 18f75ca commit 203cf2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/cifs/readdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,7 @@ static int cifs_save_resume_key(const char *current_entry,
filename = &pFindData->FileName[0];
/* one byte length, no name conversion */
len = (unsigned int)pFindData->FileNameLength;
cifsFile->srch_inf.resume_key = pFindData->ResumeKey;
} else {
cFYI(1,("Unknown findfirst level %d",level));
return -EINVAL;
Expand Down

0 comments on commit 203cf2f

Please sign in to comment.