浏览代码

[PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache

There is a d_drop in dir_release which caused problems as it invalidates
dcache entries too soon.  This was likely a part of the wierd cwd behavior
folks were seeing.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Eric Van Hensbergen 19 年之前
父节点
当前提交
8532159f55
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/9p/vfs_dir.c

+ 0 - 1
fs/9p/vfs_dir.c

@@ -202,7 +202,6 @@ int v9fs_dir_release(struct inode *inode, struct file *filp)
 		filp->private_data = NULL;
 		filp->private_data = NULL;
 	}
 	}
 
 
-	d_drop(filp->f_dentry);
 	return 0;
 	return 0;
 }
 }