Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53528
b: refs/heads/master
c: 83672d3
h: refs/heads/master
v: v3
  • Loading branch information
Neil Brown authored and Trond Myklebust committed May 1, 2007
1 parent 9f076e9 commit cca2fdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f4eab7e7c1d90dcd8ca4d7c064ee78dfbb345eb
refs/heads/master: 83672d392f7bcf556f7920d6715e4174d9373ee0
4 changes: 4 additions & 0 deletions trunk/fs/nfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,10 @@ static int nfs_dentry_delete(struct dentry *dentry)
static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
{
nfs_inode_return_delegation(inode);
if (S_ISDIR(inode->i_mode))
/* drop any readdir cache as it could easily be old */
NFS_I(inode)->cache_validity |= NFS_INO_INVALID_DATA;

if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
lock_kernel();
drop_nlink(inode);
Expand Down

0 comments on commit cca2fdb

Please sign in to comment.