svn commit: r275820 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Tue Dec 16 11:32:00 UTC 2014


Author: kib
Date: Tue Dec 16 09:48:23 2014
New Revision: 275820
URL: https://svnweb.freebsd.org/changeset/base/275820

Log:
  Add missed break.
  
  CID:	1258586
  Sponsored by:	The FreeBSD Foundation
  MFC after:	4 days

Modified:
  head/sys/kern/kern_thread.c

Modified: head/sys/kern/kern_thread.c
==============================================================================
--- head/sys/kern/kern_thread.c	Tue Dec 16 09:21:56 2014	(r275819)
+++ head/sys/kern/kern_thread.c	Tue Dec 16 09:48:23 2014	(r275820)
@@ -618,6 +618,7 @@ weed_inhib(int mode, struct thread *td2,
 			wakeup_swapper |= thread_unsuspend_one(td2, p);
 		if (TD_ON_SLEEPQ(td2) && (td2->td_flags & TDF_SINTR) != 0)
 			wakeup_swapper |= sleepq_abort(td2, ERESTART);
+		break;
 	case SINGLE_ALLPROC:
 		/*
 		 * ALLPROC suspend tries to avoid spurious EINTR for


More information about the svn-src-head mailing list