mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 14:30:00 +00:00
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>
This commit is contained in:
parent
efbb06b7f9
commit
b050aa791f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user