mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:36:40 +07: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