Fix a typo in vop_rename_pre() where we ended up using vholdl()
instead of vhold(), even though the vnode interlock is unlocked. MFC after: 3 days
This commit is contained in:
parent
9bfd3af7d0
commit
a6c109d658
@ -3406,7 +3406,7 @@ vop_rename_pre(void *ap)
|
||||
ASSERT_VOP_LOCKED(a->a_tdvp, "vop_rename: tdvp not locked");
|
||||
#endif
|
||||
if (a->a_tdvp != a->a_fdvp)
|
||||
vholdl(a->a_fdvp);
|
||||
vhold(a->a_fdvp);
|
||||
if (a->a_tvp != a->a_fvp)
|
||||
vhold(a->a_fvp);
|
||||
vhold(a->a_tdvp);
|
||||
|
Loading…
Reference in New Issue
Block a user