Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;