summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 5189bb715675..5705f83512bd 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -272,7 +272,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
* An alternative would be to fail with EDEADLK.
*/
sharelock(lkp, 1);
- /* fall into downgrade */
+ /* FALLTHROUGH downgrade */
case LK_DOWNGRADE:
KASSERT(lkp->lk_lockholder == pid && lkp->lk_exclusivecount != 0,
@@ -298,7 +298,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
error = EBUSY;
break;
}
- /* fall into normal upgrade */
+ /* FALLTHROUGH normal upgrade */
case LK_UPGRADE:
/*
@@ -353,7 +353,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
if ( (lkp->lk_flags & (LK_SHARE_NONZERO|LK_WAIT_NONZERO)) ==
LK_WAIT_NONZERO)
wakeup((void *)lkp);
- /* fall into exclusive request */
+ /* FALLTHROUGH exclusive request */
case LK_EXCLUSIVE:
if (lkp->lk_lockholder == pid && pid != LK_KERNPROC) {