Skip to contentSkip to conversation

linux/kernel/acct.c

PATCH New Bob_Tracy 1 participant 1 message Apr 23, 2002

lore
Share & tools
lore

Bob_Tracy

author
#0 lore raw

PATCH 1/1 linux/kernel/acct.c

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.

kernel/acct.c renamed from kernel/acct.c.orig +0 -2
@@ -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);
Signature · 4 lines
-----------------------------------------------------------------------
Bob Tracy                   WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------