Changes to OpenAFS to support FreeBSD 8-CURRENT

Ben Kaduk minimarmot at gmail.com
Sat Dec 13 18:24:38 PST 2008


Hi Boris,

To get a OpenAFS compiling on a couple-day-old current, I needed to
change (in addition to
the vinvalbuf change mentioned elsewhere)

VSUID to S_ISUID and VSGID to S_ISGID in VNOPS/afs_vnop_attrs.c
from this change:
trasz       2008-09-10 13:16:41 UTC
(note that S_ISUID is from stat.h and VUID was from vnode.h)

remove the curthread argument from VOP_GETATTR() (two occurrences)
in FBSD/osi_file.c:143  (this is under AFS_FBSD50_ENV ???)
from this change:
attilio     2008-08-28 15:23:18 UTC

The vinvalbuf change also affects FBSD/osi_vm.c in two lines.

change ap->a_mode to ap->a_accmode in FBSD/osi_vnodeops.c:691
and in the comment above.  Arguably, this might be rather a bug
in the vnode_if.h header where the structure is defined
(libafs/MODLOAD/vnode_if.h, apparently).

Now, everything compiles, but kldload is claiming that libafs.ko
doesn't exist ...

-Ben Kaduk


More information about the freebsd-afs mailing list