Skip to content

Commit

Permalink
[PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Eric Van Hensbergen authored and Linus Torvalds committed Mar 17, 2006
1 parent a0a0c28 commit 8532159
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/9p/vfs_dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8532159

Please sign in to comment.