public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: rct@gherkin.frus.com (Bob_Tracy)
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: [PATCH] linux/kernel/acct.c
Date: Tue, 23 Apr 2002 08:37:52 -0500 (CDT)	[thread overview]
Message-ID: <m1700US-0005khC@gherkin.frus.com> (raw)

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
-----------------------------------------------------------------------

                 reply	other threads:[~2002-04-23 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1700US-0005khC@gherkin.frus.com \
    --to=rct@gherkin.frus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox