projects/linux·commit 8532159f

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

8532159f · Eric Van Hensbergen <[email protected]> · 2006-03-16 23:04:04 -08:00

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
8532159f5521ba24e697f0d25970ae89ff62a1f2
Parents
a0a0c28c

Changes

1 files changed · +0 −1

FileStatusAddDelContent
fs/9p/vfs_dir.cmodified+0−1View file

fs/9p/vfs_dir.c

View file
diff --git a/fs/9p/vfs_dir.c b/fs/9p/vfs_dir.c
index ae6d032..cd5eeb0 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;
}