summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-11-04 23:57:02 +0000
committerpjd <pjd@FreeBSD.org>2006-11-04 23:57:02 +0000
commitc524521d2f579301e91dba59f2cab05751984415 (patch)
tree2ab4f6a10b9975aae101e648705bff6fa8612682 /sys
parent0ba5da19a5a4bc0b3cd94514f7f139723b4b3764 (diff)
downloadFreeBSD-src-c524521d2f579301e91dba59f2cab05751984415.zip
FreeBSD-src-c524521d2f579301e91dba59f2cab05751984415.tar.gz
Typo, 'from' vnode is locked here, not 'to' vnode.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index c8989ac..46ffd8f 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -3439,7 +3439,7 @@ vop_rename_pre(void *ap)
if (a->a_tdvp != a->a_fdvp && a->a_tvp != a->a_fdvp)
ASSERT_VOP_UNLOCKED(a->a_fdvp, "vop_rename: fdvp locked");
if (a->a_tvp != a->a_fvp)
- ASSERT_VOP_UNLOCKED(a->a_fvp, "vop_rename: tvp locked");
+ ASSERT_VOP_UNLOCKED(a->a_fvp, "vop_rename: fvp locked");
/* Check the target. */
if (a->a_tvp)
OpenPOWER on IntegriCloud