lkml.org 
[lkml]   [1997]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRomfs in 2.1.46 -- s_mounted?

Trying to compile 2.1.46, I get the following error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -c -o inode.o inode.c
inode.c: In function `romfs_read_super':
inode.c:119: structure has no member named `s_mounted'
inode.c: At top level:
inode.c:450: warning: initialization from incompatible pointer type
inode.c:481: warning: initialization from incompatible pointer type
inode.c:579: warning: initialization from incompatible pointer type
inode.c:581: warning: initialization from incompatible pointer type
make[3]: *** [inode.o] Error 1


The offending line 119:

if (!(s->s_mounted = iget(s, sz)))

Where s is a struct super_block *.


umsdos, hpfs, ncpfs, smbfs, affs, and nfsd also refernce this member
of struct super_block -- romfs, however, is the only one I am building
into the kernel, so it is the first I came across. Ideas?

--
-Neil Moore http://www.sfhs.floyd.k12.ky.us/~amethyst/
(finger amethyst@valjean.sfhs.floyd.k12.ky.us for my Geek Code)

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.117 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site