[PATCH] Fix for acct.c in pre-patch-2.3.9-7.

Niels Kristian Bech Jensen (nkbj@image.dk)
Tue, 29 Jun 1999 15:28:01 +0200 (CEST)


Hi,
This small patch fixes the compile error in acct.c in pre-patch-2.3.9-7:

--- pre-patch-2.3.9-7/kernel/acct.c.orig Mon Jun 28 21:35:36 1999
+++ pre-patch-2.3.9-7/kernel/acct.c Tue Jun 29 15:22:19 1999
@@ -276,7 +276,7 @@
*/
if (!file)
return 0;
- file->f_count++;
+ atomic_inc(&file->f_count);
if (!check_free_space(file)) {
fput(file);
return 0;

-- 
Niels Kristian Bech Jensen -- nkbj@image.dk -- http://www.image.dk/~nkbj/

----------->> Stop software piracy --- use free software! <<-----------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/