summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@hera.kernel.org>2006-03-17 08:04:04 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-17 16:51:25 +0100
commit8532159f5521ba24e697f0d25970ae89ff62a1f2 (patch)
tree38a816eda7461a8c406053a0755efa479e4e3ced /fs/9p
parent[PATCH] posix-timers: fix requeue accounting when signal is ignored (diff)
downloadlinux-8532159f5521ba24e697f0d25970ae89ff62a1f2.tar.xz
linux-8532159f5521ba24e697f0d25970ae89ff62a1f2.zip
[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>
Diffstat (limited to '')
-rw-r--r--fs/9p/vfs_dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c
index ae6d032b9b59..cd5eeb032d64 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;
}