projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449231d
)
NFS: Don't expose internal READDIR errors to userspace
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 25 Aug 2005 23:25:35 +0000
(16:25 -0700)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 23 Sep 2005 16:38:01 +0000
(12:38 -0400)
Fixes a condition whereby the kernel is returning the non-POSIX error
EBADCOOKIE to userspace.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index 94a7fcee0624666b655a87420aaf17b6675e3c15..c70eabd6d179833d40792852a02267d767fd9500 100644
(file)
--- a/
fs/nfs/dir.c
+++ b/
fs/nfs/dir.c
@@
-565,8
+565,6
@@
static int nfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
}
}
unlock_kernel();
- if (desc->error < 0)
- return desc->error;
if (res < 0)
return res;
return 0;