Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2008 21:24:37 -0500
From:      "Ben Kaduk" <minimarmot@gmail.com>
To:        "Boris Samorodov" <bsam@ipt.ru>
Cc:        freebsd-afs@freebsd.org
Subject:   Changes to OpenAFS to support FreeBSD 8-CURRENT
Message-ID:  <47d0403c0812131824i489c50c6w456e62e43ecabdeb@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47d0403c0812131824i489c50c6w456e62e43ecabdeb>