public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux/kernel/acct.c
@ 2002-04-23 13:37 Bob_Tracy
  0 siblings, 0 replies; only message in thread
From: Bob_Tracy @ 2002-04-23 13:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds

For non-SMP systems, running "accton" generates an "Oops".  This was
diagnosed and fixed in the 2.5.7 timeframe, but the fix didn't make it
into 2.5.8.  The following trivial patch is against vanilla 2.5.8:
please apply.

--- linux/kernel/acct.c.orig	Mon Apr 22 09:33:45 2002
+++ linux/kernel/acct.c	Mon Apr 22 10:39:01 2002
@@ -160,8 +160,6 @@
 {
 	struct file *old_acct = NULL;
 
-	BUG_ON(!spin_is_locked(&acct_globals.lock));
-
 	if (acct_globals.file) {
 		old_acct = acct_globals.file;
 		del_timer(&acct_globals.timer);

-- 
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-23 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-23 13:37 [PATCH] linux/kernel/acct.c Bob_Tracy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox