aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/readdir.c1
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,
946 filename = &pFindData->FileName[0]; 946 filename = &pFindData->FileName[0];
947 /* one byte length, no name conversion */ 947 /* one byte length, no name conversion */
948 len = (unsigned int)pFindData->FileNameLength; 948 len = (unsigned int)pFindData->FileNameLength;
949 cifsFile->srch_inf.resume_key = pFindData->ResumeKey;
949 } else { 950 } else {
950 cFYI(1,("Unknown findfirst level %d",level)); 951 cFYI(1,("Unknown findfirst level %d",level));
951 return -EINVAL; 952 return -EINVAL;