- cache_lookup() relocks the parent in the DOTDOT case for us.

Spotted by:	phk
Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-04-14 07:08:34 +00:00
parent b3919c8d96
commit 5b5f16b5a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145060
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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;