mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.6-pre3 Fix small race in BSD accounting [part 1]
@ 2002-03-11 20:06 Bob Miller
  0 siblings, 0 replies; only message in thread
From: Bob Miller @ 2002-03-11 20:06 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Linus,

Below is a patch to remove a small race in kernel/acct.c.

-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17


diff -ur linux-2.5.6-orig/kernel/acct.c linux-2.5.6/kernel/acct.c
--- linux-2.5.6-orig/kernel/acct.c	Thu Mar  7 18:18:05 2002
+++ linux-2.5.6/kernel/acct.c	Mon Mar 11 10:52:10 2002
@@ -354,7 +354,7 @@
 		file = acct_file;
 		get_file(file);
 		unlock_kernel();
-		do_acct_process(exitcode, acct_file);
+		do_acct_process(exitcode, file);
 		fput(file);
 	} else
 		unlock_kernel();

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

only message in thread, other threads:[~2002-03-11 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 20:06 [PATCH] 2.5.6-pre3 Fix small race in BSD accounting [part 1] Bob Miller

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

all inboxes | Powered by JetHome®