From: Chuck Lever Date: Mon, 24 Sep 2007 19:40:06 +0000 (-0400) Subject: NFS: Don't call nfs_renew_times() in nfs_dentry_iput() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=92f6c178250170222f6d80c8ae725400765aa7a4;p=deliverable%2Flinux.git 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 Signed-off-by: Trond Myklebust --- 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); }