- 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 2005-04-14 07:08:34 +00:00
parent 955d89243d
commit e4eab9fb69
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;