Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223043
b: refs/heads/master
c: 545c988
h: refs/heads/master
i:
  223041: 8ed4118
  223039: 37c8645
v: v3
  • Loading branch information
Suresh Jayaraman authored and Steve French committed Dec 8, 2010
1 parent e2856fc commit ed9f53b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d161b7f41e24203b54b0f18ae0d26c18a6c6fab
refs/heads/master: 545c988b2018a593f24d291b66776a0d08525acd
12 changes: 0 additions & 12 deletions trunk/fs/cifs/readdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,18 +759,6 @@ static int cifs_filldir(char *pfindEntry, struct file *file, filldir_t filldir,
rc = filldir(direntry, qstring.name, qstring.len, file->f_pos,
ino, fattr.cf_dtype);

/*
* we can not return filldir errors to the caller since they are
* "normal" when the stat blocksize is too small - we return remapped
* error instead
*
* FIXME: This looks bogus. filldir returns -EOVERFLOW in the above
* case already. Why should we be clobbering other errors from it?
*/
if (rc) {
cFYI(1, "filldir rc = %d", rc);
rc = -EOVERFLOW;
}
dput(tmp_dentry);
return rc;
}
Expand Down

0 comments on commit ed9f53b

Please sign in to comment.