From ed9f53b34f5bfccec8af4a8e435a9ec7efcfe49f Mon Sep 17 00:00:00 2001 From: Suresh Jayaraman Date: Mon, 6 Dec 2010 13:45:50 +0530 Subject: [PATCH] --- yaml --- r: 223043 b: refs/heads/master c: 545c988b2018a593f24d291b66776a0d08525acd h: refs/heads/master i: 223041: 8ed41187391ba7da2901edc429925f55909af899 223039: 37c86454dd9e4dfc3ebcc375e7dea8b6f822c257 v: v3 --- [refs] | 2 +- trunk/fs/cifs/readdir.c | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/[refs] b/[refs] index 4d9a1a6a2cf4..ebea343f592a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7d161b7f41e24203b54b0f18ae0d26c18a6c6fab +refs/heads/master: 545c988b2018a593f24d291b66776a0d08525acd diff --git a/trunk/fs/cifs/readdir.c b/trunk/fs/cifs/readdir.c index 32d300e8f20e..a73eb9f4bdaf 100644 --- a/trunk/fs/cifs/readdir.c +++ b/trunk/fs/cifs/readdir.c @@ -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; }