Skip to content

Commit

Permalink
MFC r1.643:
Browse files Browse the repository at this point in the history
  Fix a typo in vop_rename_pre() where we ended up using vholdl()
  instead of vhold(), even though the vnode interlock is unlocked.

Approved by:	re (scottl)
  • Loading branch information
repppie committed Sep 3, 2005
1 parent 603100a commit e729b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/vfs_subr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3404,7 +3404,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);
Expand Down

0 comments on commit e729b6a

Please sign in to comment.