aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 35b447d79dbe..a03ed2f85047 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -788,7 +788,7 @@ static int nfs_lookup_revalidate(struct dentry * dentry, struct nameidata *nd)
788out_zap_parent: 788out_zap_parent:
789 nfs_zap_caches(dir); 789 nfs_zap_caches(dir);
790 out_bad: 790 out_bad:
791 NFS_CACHEINV(dir); 791 nfs_mark_for_revalidate(dir);
792 if (inode && S_ISDIR(inode->i_mode)) { 792 if (inode && S_ISDIR(inode->i_mode)) {
793 /* Purge readdir caches. */ 793 /* Purge readdir caches. */
794 nfs_zap_caches(inode); 794 nfs_zap_caches(inode);