From: Eric Van Hensbergen Date: Fri, 17 Mar 2006 07:04:04 +0000 (-0800) Subject: [PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache X-Git-Tag: v2.6.16~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8532159f5521ba24e697f0d25970ae89ff62a1f2;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c index ae6d032b9b5..cd5eeb032d6 100644 --- a/fs/9p/vfs_dir.c +++ b/fs/9p/vfs_dir.c @@ -202,7 +202,6 @@ int v9fs_dir_release(struct inode *inode, struct file *filp) filp->private_data = NULL; } - d_drop(filp->f_dentry); return 0; }