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

[CIFS] Set inode number properly on new cifs_readdir code to Windows servers

Signed-off-by: Steve French (sfrench@us.ibm.com)
parent 1904babb
......@@ -451,7 +451,8 @@ cifs_filldir2(char * pfindEntry, struct file *file,
} else {
fill_in_inode(tmp_inode,(FILE_DIRECTORY_INFO *)pfindEntry,&obj_type);
}
rc = filldir(direntry,qstring.name,qstring.len,file->f_pos,inum,obj_type);
rc = filldir(direntry,qstring.name,qstring.len,file->f_pos,tmp_inode->i_ino,obj_type);
if(rc) {
cFYI(1,("filldir rc = %d",rc));
}
......
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