[PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache
authorEric Van Hensbergen <[email protected]>
Fri, 17 Mar 2006 07:04:04 +0000 (23:04 -0800)
committerLinus Torvalds <[email protected]>
Fri, 17 Mar 2006 15:51:25 +0000 (07:51 -0800)
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]>
fs/9p/vfs_dir.c

index ae6d032b9b59f921118ddfa430532bb4133a72f5..cd5eeb032d64367a950974351ba8dce0b41c8c98 100644 (file)
@@ -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;
 }