From: Steve French Date: Sun, 1 Oct 2006 19:59:41 +0000 (+0000) Subject: [CIFS] Fix readdir of large directories for backlevel servers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=203cf2fc13a5db1fb202c294948fa9cb43bf69fa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [CIFS] Fix readdir of large directories for backlevel servers (were not setting all of resume key) Signed-off-by: Steve French --- diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 71e86c38e632..b0e5db10664c 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c @@ -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;