Changes to OpenAFS to support FreeBSD 8-CURRENT

"Ben Kaduk" <[email protected]> Sat, 13 Dec 2008 21:24:37 -0500
Newsgroups gmane.os.freebsd.devel.afs
Message-ID <[email protected]>
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-afs
To unsubscribe, send any mail to "[email protected]"