diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 94a7fcee0624666b655a87420aaf17b6675e3c15..c70eabd6d179833d40792852a02267d767fd9500 100644 --- 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;