2006-03-16 22:43:57

by Eric Van Hensbergen

[permalink] [raw]
Subject: [PATCH] v9fs: fix overzealous dropping of dentry

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

There was a d_drop in dir_release which caused problems as it
invalidated 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]>

---

fs/9p/vfs_dir.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

bd84607c9914674d9415a22e9bc1237f0edd74de
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
filp->private_data = NULL;
}

- d_drop(filp->f_dentry);
return 0;
}

--
1.1.0