- 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
955d89243d
commit
e4eab9fb69
@ -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