Skip to contentSkip to conversation

v9fs: fix overzealous dropping of dentry

PATCH New Eric Van Hensbergen 1 participant 1 message Mar 16, 2006 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

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

bd84607c9914674d9415a22e9bc1237f0edd74de

fs/9p/vfs_dir.c +0 -1
index ae6d032..cd5eeb0 100644
@@ -202,7 +202,6 @@ int v9fs_dir_release(struct inode *inode
 		filp->private_data = NULL;
 	}
 
-	d_drop(filp->f_dentry);
 	return 0;
 }
 
Signature · 1 line
1.1.0