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
Amrut Joshi
Shobhit Dayal
Sergey Vlasov
Richard Hughes
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
------------
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)
cifsFile->search_resume_name =
kmalloc(cifsFile->resume_name_length, GFP_KERNEL);
cFYI(1,("fnext last file: %s with name %d bytes long",
lastFindData->FileName,
pfindDataUnix->FileName,
cifsFile->resume_name_length));
memcpy(cifsFile->search_resume_name,
lastFindData->FileName,
pfindDataUnix->FileName,
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