lkml.org 
[lkml]   [1999]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux-2.2.4..
On Tue, Mar 23, 1999 at 02:46:33PM -0800, Linus Torvalds wrote:
>
> There's a new 2.2.x version out there now.
>

compile fails with this:

acct.c: In function `sys_acct':
acct.c:197: too few arguments to function `filp_close'
acct.c:203: too few arguments to function `filp_close'

Should the second parameter be NULL? (guessing wildly after looking at binfmt*)

looks like acct.c didn't get patched properly:

diff -u --recursive --new-file v2.2.3/linux/kernel/acct.c linux/kernel/acct.c
--- v2.2.3/linux/kernel/acct.c Thu Dec 31 10:29:03 1998
+++ linux/kernel/acct.c Mon Mar 22 10:08:50 1999
@@ -194,13 +194,13 @@
}
if (old_acct) {
do_acct_process(0,old_acct);
- fput(old_acct);
+ filp_close(old_acct);
}
out:
unlock_kernel();
return error;
out_err:
- fput(file);
+ filp_close(file);
goto out;
}

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

\
 
 \ /
  Last update: 2005-03-22 13:50    [from the cache]
©2003-2011 Jasper Spaans