[PATCH] v9fs: fix overzealous dropping of dentry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux