diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-14 07:08:34 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-14 07:08:34 +0000 |
commit | e4eab9fb69c99b67bf06b56f1270097fb731ac9d (patch) | |
tree | 34620400cbb55d5bba6194eb42ee7917f2b28bad /sys/nfsclient/nfs_vnops.c | |
parent | 955d89243d881ed62fd7a77a054e95226c3d6636 (diff) | |
download | FreeBSD-src-e4eab9fb69c99b67bf06b56f1270097fb731ac9d.zip FreeBSD-src-e4eab9fb69c99b67bf06b56f1270097fb731ac9d.tar.gz |
- cache_lookup() relocks the parent in the DOTDOT case for us.
Spotted by: phk
Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/nfsclient/nfs_vnops.c')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 8eba072..d5ea209 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; |