Date: Fri, 26 Dec 1997 21:52:18 +1100 From: Bruce Evans <bde@zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, dyson@FreeBSD.ORG Subject: Re: cvs commit: src/sys/vm vm_map.c Message-ID: <199712261052.VAA14888@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified files:
> sys/vm vm_map.c
> Log:
> The ioopt code is still buggy, but wasn't fully disabled.
It still isn't fully disabled, and breaks LINT:
../../ufs/ufs/ufs_readwrite.c: In function `lfs_write':
In file included from ../../ufs/lfs/lfs_vnops.c:110:
../../ufs/ufs/ufs_readwrite.c:296: dereferencing pointer to incomplete type
../../ufs/ufs/ufs_readwrite.c:296: `OBJ_OPT' undeclared (first use this function)
../../ufs/ufs/ufs_readwrite.c:296: (Each undeclared identifier is reported only once
../../ufs/ufs/ufs_readwrite.c:296: for each function it appears in.)
../../ufs/ufs/ufs_readwrite.c:297: dereferencing pointer to incomplete type
../../ufs/ufs/ufs_readwrite.c:298: warning: implicit declaration of function `vm_freeze_copyopts'
../../ufs/ufs/ufs_readwrite.c:299: warning: implicit declaration of function `OFF_TO_IDX'
...
When some missing headers are added so that lfs_vnops.o compiles, the link
step fails with:
ffs_vnops.o: Definition of symbol `_vfs_ioopt' (multiply defined)
lfs_vnops.o: Definition of symbol `_vfs_ioopt' (multiply defined)
ffs-specific sysctls should be attached to vfs.ffs, not to vfs.
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712261052.VAA14888>
