From 5b5f16b5a846ce7e4bfb749f8b1d5a88790dcedf Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Thu, 14 Apr 2005 07:08:34 +0000 Subject: [PATCH] - cache_lookup() relocks the parent in the DOTDOT case for us. Spotted by: phk Sponsored by: Isilon Systems, Inc. --- sys/nfs4client/nfs4_vnops.c | 2 -- sys/nfsclient/nfs_vnops.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sys/nfs4client/nfs4_vnops.c b/sys/nfs4client/nfs4_vnops.c index 8a45857cba13..ca79c6e337a1 100644 --- a/sys/nfs4client/nfs4_vnops.c +++ b/sys/nfs4client/nfs4_vnops.c @@ -976,8 +976,6 @@ nfs4_lookup(struct vop_lookup_args *ap) vput(newvp); else vrele(newvp); - if (flags & ISDOTDOT) - vn_lock(dvp, LK_EXCLUSIVE|LK_RETRY, td); } error = 0; diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 8eba072d92cf..d5ea20991460 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -809,8 +809,6 @@ nfs_lookup(struct vop_lookup_args *ap) vput(newvp); else vrele(newvp); - if (flags & ISDOTDOT) - vn_lock(dvp, LK_EXCLUSIVE|LK_RETRY, td); *vpp = NULLVP; } error = 0;