From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6467 invoked from network); 8 Nov 1998 00:28:13 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 8 Nov 1998 00:28:13 -0000 Received: from ellpspace.math.ualberta.ca (root@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA16550 for ; Sat, 7 Nov 1998 19:13:58 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id MAA30480 for axp-list@redhat.com; Sat, 7 Nov 1998 12:54:08 -0700 From: Michal Jaegermann Message-Id: <199811071954.MAA30480@ellpspace.math.ualberta.ca> Subject: Re: Kernel .126 compile problem - acct.c To: axp-list@redhat.com Date: Sat, 7 Nov 1998 12:54:08 -0700 (MST) In-Reply-To: <199811070725.HAA27842@ppp393.ts.rz.tu-bs.de> from "y0000218@rzrtr1.rz.tu-bs.de" at Nov 7, 98 07:25:35 am Content-Type: text y0000218@rzrtr1.rz.tu-bs.de wrote: > > as I havent seen it on the list (Sorry if it was here): Things like that are on linux-kernel list. :-) If you hack development kernels you should likely watch it. > gcc -D__KERNEL__ -I/tmp/olaf/linux/include -Wall -Wstrict-prototypes -O2 -g -pipe -mno-fp-regs -ffixed-8 -c -o acct.o acct.c > acct.c: In function `check_free_space': > acct.c:90: structure has no member named `f_inode' This is one letter typo. --- linux-2.1.126/kernel/acct.c~ Mon Nov 2 12:50:29 1998 +++ linux-2.1.126/kernel/acct.c Mon Nov 2 14:46:20 1998 @@ -87,7 +87,7 @@ if (!acct_file || !acct_needcheck) return; - sb = acct_file->f_dentry->f_inode->i_sb; + sb = acct_file->f_dentry->d_inode->i_sb; if (!sb->s_op || !sb->s_op->statfs) return; Michal (michal@harddata.com - to make a vendor presence more prominent :-)