OpenAFS CVS Commit: openafs/src/afs by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sun, 03 Apr 2005 14:09:06 EDT


Update of /cvs/openafs/src/afs
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/afs

Modified Files:
	afs.h afs_buffer.c afs_call.c afs_daemons.c afs_dcache.c 
	afs_init.c afs_memcache.c afs_nfsclnt.c afs_osi.c afs_pioctl.c 
	afs_vcache.c afsincludes.h longc_procs.h sysincludes.h 
Log Message:
DELTA openafs-kill-dead-code-20050403
AUTHOR shadow@dementia.org

Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies

Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate,
in the kernel only. The database servers etc are probably still buildable,
and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all
SunOS 4 code nuked.

Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become
AFS_OSF_ENV.

Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any
BSDs have bozon lock usage removed: note that only OSF and Solaris were
bothering to *init* the bozon lock during NewVCache. Bozon locks are for
platforms where basically we could end up deadlocking ourselves because of
how locks are handled.

Some nonsensical ifdefs removed.
Some if 0'd code removed.
Some obsolete code (hpux pre-10, for instance) removed.


--- DELTA config follows ---
openafs-kill-dead-code-20050403 openafs/src/afs/afs.h 1.60 1.61
openafs-kill-dead-code-20050403 openafs/src/afs/afs_buffer.c 1.19 1.20
openafs-kill-dead-code-20050403 openafs/src/afs/afs_call.c 1.80 1.81
openafs-kill-dead-code-20050403 openafs/src/afs/afs_daemons.c 1.31 1.32
openafs-kill-dead-code-20050403 openafs/src/afs/afs_dcache.c 1.52 1.53
openafs-kill-dead-code-20050403 openafs/src/afs/afs_init.c 1.30 1.31
openafs-kill-dead-code-20050403 openafs/src/afs/afs_memcache.c 1.17 1.18
openafs-kill-dead-code-20050403 openafs/src/afs/afs_nfsclnt.c 1.12 1.13
openafs-kill-dead-code-20050403 openafs/src/afs/afs_osi.c 1.51 1.52
openafs-kill-dead-code-20050403 openafs/src/afs/afs_pioctl.c 1.92 1.93
openafs-kill-dead-code-20050403 openafs/src/afs/afs_vcache.c 1.78 1.79
openafs-kill-dead-code-20050403 openafs/src/afs/afsincludes.h 1.8 1.9
openafs-kill-dead-code-20050403 openafs/src/afs/longc_procs.h 1.3 1.4
openafs-kill-dead-code-20050403 openafs/src/afs/sysincludes.h 1.32 1.33