Messages in this thread Patch in this message | | | Date | Sat, 27 Mar 1999 16:42:34 +0500 (GMT) | From | CyberPsychotic <> | Subject | BSD accounting 2.2.4 [patch?] |
| |
Turning on BSD proc. accounting in kernel 2.2.4 (earlier?) causes an error since filp_close routine parameters don't match. I've fixed it as bellow but not quite sure if that's correct way doing so.
--- acct.c.orig Sat Mar 27 16:45:19 1999 +++ acct.c Sat Mar 27 16:45:33 1999 @@ -194,13 +194,13 @@ } if (old_acct) { do_acct_process(0,old_acct); - filp_close(old_acct); + filp_close(old_acct,NULL); } out: unlock_kernel(); return error; out_err: - filp_close(file); + filp_close(file,NULL); 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/
| |