Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 2.2.4 compile error (BSD accounting)
@ 1999-03-26 22:20 Konrad Podloucky
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Podloucky @ 1999-03-26 22:20 UTC (permalink / raw)
  To: RedHat AXP List

Has anybody else tried to compile a 2.2.4 w/ BSD accounting?
My compile barfs on kernel/acct.c:
197: filp_close(old_acct);
203: filp_close(file);

The function 'filp_close' is defined as:
'extern int filp_close(struct file *, fl_owner_t id);'
in include/linux/fs.h

...which means that we're exactly one argument short!

bug? (feature?)

Konrad

______________________________________________________________________
  Konrad Podloucky <konrad@pelimbert.tssc.univie.ac.at>
  Vienna, Austria       PGP-key available by request

        Running LINUX on an Alpha

  "Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
   patch to an 8 bit operating system originally coded for a 4 bit
   microprocessor, written by a 2 bit company that can't stand 1 bit 
   of competition."
                                      --Cygnus CygWin (aka GNU/Win32) FAQ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: 2.2.4 compile error (BSD accounting)
@ 1999-03-27 23:26 Konrad Podloucky
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Podloucky @ 1999-03-27 23:26 UTC (permalink / raw)
  To: RedHat AXP List

OK, I just read Linus' one-line patch to 2.2.4 and he also says that you have
to add NULL as the second argument to filp_close().

So 2.2.4's running here smoothly (SX)

Konrad

______________________________________________________________________
  Konrad Podloucky <konrad@pelimbert.tssc.univie.ac.at>
  Vienna, Austria       PGP-key available by request

        Running LINUX on an Alpha

  "Windows 9x: n. 32 bit extensions and a graphical shell for a 16 bit
   patch to an 8 bit operating system originally coded for a 4 bit
   microprocessor, written by a 2 bit company that can't stand 1 bit 
   of competition."
                                      --Cygnus CygWin (aka GNU/Win32) FAQ


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-03-28 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-26 22:20 2.2.4 compile error (BSD accounting) Konrad Podloucky
  -- strict thread matches above, loose matches on Subject: below --
1999-03-27 23:26 Konrad Podloucky

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