summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-09-24 21:40:06 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 23:18:22 +0200
commit92f6c178250170222f6d80c8ae725400765aa7a4 (patch)
treef0da7a93122db0ed40cb5175294e8492082144ba /fs
parentSUNRPC: Fix bytes-per-op accounting for RPC over UDP (diff)
downloadlinux-92f6c178250170222f6d80c8ae725400765aa7a4.tar.xz
linux-92f6c178250170222f6d80c8ae725400765aa7a4.zip
NFS: Don't call nfs_renew_times() in nfs_dentry_iput()
Negative dentries need to be reverified after an asynchronous unlink. Quoth Trond: "Unfortunately I don't think that we can avoid revalidating the resulting negative dentry since the UNLINK call is asynchronous, and so the new verifier on the directory will only be known a posteriori." Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 6e0aa04451dd..439346abda62 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -872,8 +872,6 @@ static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
nfs_complete_unlink(dentry, inode);
unlock_kernel();
}
- /* When creating a negative dentry, we want to renew d_time */
- nfs_renew_times(dentry);
iput(inode);
}