[OpenAFS-port-darwin] openafs Mac OS 10.1 port

Shantonu Sen ssen@MIT.EDU
Fri, 02 Nov 2001 10:56:31 -0500


> kmodload: __ubc_getobject
> 
> I don't see why one gets this error message since it is defined in the 
> kernel.

Note the double "_". This would seem to indicate that it's being referred
to in the source file as "_ubc_getobject". Indeed on line osi_vm.c:305,
it is prepended with a "_" and nowhere else.

#ifdef UBC_NOREACTIVATE
            if (ubc_getobject(&avc->v, (UBC_NOREACTIVATE|UBC_HOLDOBJECT)))
                   panic("VM_Setup: null object");
#else
            (void)_ubc_getobject(&avc->v, 1); /* return value not used */
#endif

Was UBC_NOREACTIVATE #define'd in 10.0?

Shantonu