compiling 2.1.78 + umsdos = nogo

C. Jasper Spaans (spaans@vvtp.tn.tudelft.nl)
Tue, 6 Jan 1998 17:19:12 +0100 (CET)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

When compiling 2.1.78 the kernel compiles fine but it fails to compile the
module for the umsdos-fs with the following messages:

dir.c: In function `umsdos_readdir_x':
dir.c:106: structure has no member named `s_mounted'
dir.c:110: structure has no member named `s_mounted'
dir.c:155: warning: passing arg 1 of `fat_readdir' from incompatible
pointer type
dir.c:155: warning: passing arg 3 of `fat_readdir' from incompatible
pointer type
dir.c:155: too many arguments to function `fat_readdir'
dir.c: In function `umsdos_inode2entry':
dir.c:487: warning: passing arg 1 of `fat_readdir' from incompatible
pointer type
dir.c:487: warning: passing arg 3 of `fat_readdir' from incompatible
pointer type
dir.c:487: too many arguments to function `fat_readdir'
dir.c: In function `umsdos_locate_path':
dir.c:568: warning: passing arg 1 of `atomic_inc' from incompatible
pointer typedir.c:571: structure has no member named `s_mounted'
dir.c: In function `umsdos_lookup_x':
dir.c:631: warning: passing arg 1 of `atomic_inc' from incompatible
pointer typedir.c:634: structure has no member named `s_mounted'
dir.c:642: warning: passing arg 1 of `atomic_inc' from incompatible
pointer typedir.c:657: structure has no member named `s_mounted'
dir.c:670: structure has no member named `s_mounted'
dir.c:671: warning: passing arg 1 of `atomic_inc' from incompatible
pointer typedir.c: In function `umsdos_hlink2inode':
dir.c:757: structure has no member named `s_mounted'
dir.c:760: warning: passing arg 1 of `atomic_inc' from incompatible
pointer typedir.c:755: warning: `dir' might be used uninitialized in this
function
dir.c: At top level:
dir.c:791: warning: initialization from incompatible pointer type
dir.c:793: warning: initialization from incompatible pointer type
dir.c:804: warning: initialization from incompatible pointer type
dir.c:805: warning: initialization from incompatible pointer type
dir.c:806: warning: initialization from incompatible pointer type
dir.c:807: warning: initialization from incompatible pointer type
dir.c:808: warning: initialization from incompatible pointer type
dir.c:809: warning: initialization from incompatible pointer type
dir.c:810: warning: initialization from incompatible pointer type
dir.c:811: warning: initialization from incompatible pointer type
dir.c:812: warning: initialization from incompatible pointer type

Is this normal and do I have to wait for 2.1.79+ or is there a patch out
there?
(I took a look at the source, and, indeed, I can't find anything like
s_mounted in struct inode, but I also can't find anything with which it
should be replaced - or maybe somebody was having a good time cleaning up
fs.h (who knows) - possibly maybe)

VrGr,
Jasper

(please CC me, I'm only on the linux-kernel-digest list)

__ ___ __ C. Jasper Spaans
/ //__ Luchtvaart- en Ruimtevaarttechniek, T.U. Delft
/__ __/ __/ Aerospace Engineering, Delft University of Technology
finger spaans@vvtp.tn.tudelft.nl for my public PGP-key

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBNLJZhgaUdUHH9jagEQIVXACfcCBSvq5G9nFMSXLwyPDJO8Rbc84An2kh
Xo+O4mGzKptMij82PVckPWBx
=0/Uw
-----END PGP SIGNATURE-----