Commit b050aa79 authored by Trond Myklebust's avatar Trond Myklebust

NFS: Don't zap the readdir caches upon error

If necessary, the caches will get zapped under normal revalidation.
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent efbb06b7
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment