Commit a34cd93d authored by Steve French's avatar Steve French Committed by Steve French

fix truncated directory listings on large directories to Samba (when Unicode...

fix truncated directory listings on large directories to Samba (when Unicode and Unix extensions enabled)
parent ee922546
...@@ -22,6 +22,7 @@ Andi Kleen ...@@ -22,6 +22,7 @@ Andi Kleen
Amrut Joshi Amrut Joshi
Shobhit Dayal Shobhit Dayal
Sergey Vlasov Sergey Vlasov
Richard Hughes
Test case and Bug Report contributors Test case and Bug Report contributors
------------------------------------- -------------------------------------
......
Version 1.14
------------
Fix incomplete listings of large directories on Samba servers when Unix
extensions enabled.
Version 1.13 Version 1.13
------------ ------------
Fix open of files in which O_CREATE can cause the mode to change in Fix open of files in which O_CREATE can cause the mode to change in
......
...@@ -1793,10 +1793,10 @@ cifs_readdir(struct file *file, void *direntry, filldir_t filldir) ...@@ -1793,10 +1793,10 @@ cifs_readdir(struct file *file, void *direntry, filldir_t filldir)
cifsFile->search_resume_name = cifsFile->search_resume_name =
kmalloc(cifsFile->resume_name_length, GFP_KERNEL); kmalloc(cifsFile->resume_name_length, GFP_KERNEL);
cFYI(1,("fnext last file: %s with name %d bytes long", cFYI(1,("fnext last file: %s with name %d bytes long",
lastFindData->FileName, pfindDataUnix->FileName,
cifsFile->resume_name_length)); cifsFile->resume_name_length));
memcpy(cifsFile->search_resume_name, memcpy(cifsFile->search_resume_name,
lastFindData->FileName, pfindDataUnix->FileName,
cifsFile->resume_name_length); cifsFile->resume_name_length);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment