]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CIFS] Fix readdir of large directories for backlevel servers
authorSteve French <sfrench@us.ibm.com>
Sun, 1 Oct 2006 19:59:41 +0000 (19:59 +0000)
committerSteve French <sfrench@us.ibm.com>
Sun, 1 Oct 2006 19:59:41 +0000 (19:59 +0000)
(were not setting all of resume key)

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c

index 71e86c38e632d007ccd63f3eb71c7dfbfee8930e..b0e5db10664ce1299560290ee903ba21429742da 100644 (file)
@@ -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;