- cache_lookup() relocks the parent in the DOTDOT case for us.
Spotted by: phk Sponsored by: Isilon Systems, Inc.
This commit is contained in:
parent
b3919c8d96
commit
5b5f16b5a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145060
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user