diff options
author | Steve French <sfrench@us.ibm.com> | 2006-10-01 19:59:41 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-10-01 19:59:41 +0000 |
commit | 203cf2fc13a5db1fb202c294948fa9cb43bf69fa (patch) | |
tree | 2439beb4596dfc91ad8dd39b383125e6a4e4ab41 /fs/cifs/readdir.c | |
parent | 18f75ca0dc0d5b6a2ec15d89d517b3c67e0f1c87 (diff) | |
download | lwn-203cf2fc13a5db1fb202c294948fa9cb43bf69fa.tar.gz lwn-203cf2fc13a5db1fb202c294948fa9cb43bf69fa.zip |
[CIFS] Fix readdir of large directories for backlevel servers
(were not setting all of resume key)
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |