Romfs in 2.1.46 -- s_mounted?

Neil Moore (amethyst@maxwell.ml.org)
Sat, 19 Jul 1997 22:56:52 -0400


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)