diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-27 18:46:16 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-27 18:46:16 +0000 |
commit | 1431239494ee15e7175474ddd562c5dec11e7c73 (patch) | |
tree | 5798824e179bfe554dc694ea23fba9129c270791 /sys/kern/vfs_lookup.c | |
parent | e140d551b78670fbf99c83a59438cb13de50420f (diff) | |
download | src-1431239494ee15e7175474ddd562c5dec11e7c73.tar.gz src-1431239494ee15e7175474ddd562c5dec11e7c73.zip |
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r-- | sys/kern/vfs_lookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index b1eae2a73859..cfaa12cfa8b9 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -98,8 +98,8 @@ crossmp_vop_lock1(struct vop_lock1_args *ap) { struct vnode *vp; struct lock *lk __diagused; - const char *file __diagused; - int flags, line __diagused; + const char *file __witness_used; + int flags, line __witness_used; vp = ap->a_vp; lk = vp->v_vnlock; @@ -115,7 +115,7 @@ crossmp_vop_lock1(struct vop_lock1_args *ap) WITNESS_LOCK(&lk->lock_object, 0, file, line); if ((flags & LK_INTERLOCK) != 0) VI_UNLOCK(vp); - LOCK_LOG_LOCK("SLOCK", &lk->lock_object, 0, 0, ap->a_file, line); + LOCK_LOG_LOCK("SLOCK", &lk->lock_object, 0, 0, ap->a_file, ap->a_line); return (0); } |