summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-02 19:02:07 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:20:13 -0400
commitb050aa791fad6b060d6ff59305f01289e18b058c (patch)
tree74786215218dfa0bb6cd45997de889a4f8526028 /fs
parentefbb06b7f98a154ef51ad41674548af5cc1fd005 (diff)
downloadop-kernel-dev-b050aa791fad6b060d6ff59305f01289e18b058c.zip
op-kernel-dev-b050aa791fad6b060d6ff59305f01289e18b058c.tar.gz
NFS: Don't zap the readdir caches upon error
If necessary, the caches will get zapped under normal revalidation. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 0cc798b..393c481 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -211,9 +211,7 @@ int nfs_readdir_filler(nfs_readdir_descriptor_t *desc, struct page *page)
unlock_page(page);
return 0;
error:
- SetPageError(page);
unlock_page(page);
- nfs_zap_caches(inode);
desc->error = error;
return -EIO;
}
OpenPOWER on IntegriCloud