···896 tmp_inode->i_ino,obj_type);897 if(rc) {898 cFYI(1,("filldir rc = %d",rc));0000899 }900901 dput(tmp_dentry);···1078 we want to check for that here? */1079 rc = cifs_filldir(current_entry, file,1080 filldir, direntry, tmp_buf, max_len);000001081 file->f_pos++;1082 if(file->f_pos == 1083 cifsFile->srch_inf.index_of_last_entry) {
···896 tmp_inode->i_ino,obj_type);897 if(rc) {898 cFYI(1,("filldir rc = %d",rc));899+ /* we can not return filldir errors to the caller900+ since they are "normal" when the stat blocksize901+ is too small - we return remapped error instead */902+ rc = -EOVERFLOW;903 }904905 dput(tmp_dentry);···1074 we want to check for that here? */1075 rc = cifs_filldir(current_entry, file,1076 filldir, direntry, tmp_buf, max_len);1077+ if(rc == -EOVERFLOW) {1078+ rc = 0;1079+ break;1080+ }1081+1082 file->f_pos++;1083 if(file->f_pos == 1084 cifsFile->srch_inf.index_of_last_entry) {