diff options
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 0cc798b40cd7..393c48136919 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) | |||
211 | unlock_page(page); | 211 | unlock_page(page); |
212 | return 0; | 212 | return 0; |
213 | error: | 213 | error: |
214 | SetPageError(page); | ||
215 | unlock_page(page); | 214 | unlock_page(page); |
216 | nfs_zap_caches(inode); | ||
217 | desc->error = error; | 215 | desc->error = error; |
218 | return -EIO; | 216 | return -EIO; |
219 | } | 217 | } |