mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
- 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
2 changed files with 0 additions and 4 deletions
|
|
@ -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 a new issue