Update to the new thread world order for FBSD
authorBen Kaduk <kaduk@mit.edu>
Wed, 31 Mar 2010 04:49:02 +0000 (00:49 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 31 Mar 2010 10:39:47 +0000 (03:39 -0700)
commit0b475c0c5f784c296ee7acba622353653d2b4504
tree199abbeb080b22604a767a841f777b949613d34b
parentef2604e4532d6712b3d91a98a4d1f1f070de487d
Update to the new thread world order for FBSD

Since FreeBSD 5.0, system calls have taken a thread argument instead
of a proc argument.  Finish catching up.

Also remove the retval argument, which is not in the system sysent
definition, and is unused.

Since we took our sweet time getting around to it, we can also
remove large swaths of FreeBSD 4.X-only code from the area.

Fix the vop_*_args struct definition comments that had changes in
addition to proc-->thread while we're here.

Change-Id: Ib469e77655a6c04bfbfe1e5fab54f6f3a6119a85
Reviewed-on: http://gerrit.openafs.org/1675
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
13 files changed:
src/afs/FBSD/osi_file.c
src/afs/FBSD/osi_groups.c
src/afs/FBSD/osi_machdep.h
src/afs/FBSD/osi_misc.c
src/afs/FBSD/osi_prototypes.h
src/afs/FBSD/osi_vfsops.c
src/afs/FBSD/osi_vm.c
src/afs/FBSD/osi_vnodeops.c
src/afs/afs_osi_pag.c
src/afs/afs_pag_cred.c
src/afs/afs_pioctl.c
src/afs/afs_prototypes.h
src/afs/afs_syscall.c