mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] v9fs: fix overzealous dropping of dentry
@ 2006-03-16 22:43 Eric Van Hensbergen
  0 siblings, 0 replies; only message in thread
From: Eric Van Hensbergen @ 2006-03-16 22:43 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, v9fs-developer, ericvh

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 <ericvh@gmail.com>

---

 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-16 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16 22:43 [PATCH] v9fs: fix overzealous dropping of dentry Eric Van Hensbergen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®