lkml.org 
[lkml]   [2002]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] linux/kernel/acct.c
Date
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
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.033 / U:1.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site