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.
Add bounds checking to the comparison of fid->vnode and cm_localMountPoints
when Freelance mode is used.
Fix typo in DJGPP section of smb.c
Use rx_connection * instead of rx_call * in previous fix to cm_dcache.c
Ran more stress tests against 1.3.80b on a dual processor machine and
found a number of additional errors which could be fixed.
cm_callback.c: correct the refCount handling of server lists when
processing registering callbacks on the scache entry
cm_conn.c: cm_Analyze was not handling the CM_ERROR_NOSUCHVOLUME case.
In this case force a retry and Force Update the Volume info
cm_dcache.c; do not hold mx locks around calls to rx_NewCall(). That is
why we have reference counting on the rx_connection objects.
cm_ioctl.c: replace references to afsdcell.ini with CellServDB
cm_utils.c: formatting
cm_vnodeops.c: improve the logging and add a missing call to
cm_EndCallbackGrantingCall()
cm_volume.c: allows cm_volume_t objects to be reused if their
ref count is 0 and we have hit the maximum number allowed.
smb.c: improve the logging and the handling of dead_vcp references.
If all of the SMB sessions and NCBs are in use, return BUSY to the
CIFS client.
smb3.c: convert constants to preprocessor symbols
correct the comment related to the maximum number of entries in
an ACL. the number of ACEs must be less than or equal to ACL_MAXENTRIES
not less than ACL_MAXENTRIES.
the use logon cache hack only works on xp and above. do not give up
use of smb auth simply because it fails
fix the smb_vc_t refCount fix to smb_CopyPacket. Only hold a smb_vc_t
if there is one.
conditionalize the assertions on smb_vc_t refcounts as they are only
for debugging. We know there is a problem but don't want to deal with
it for the 1.3.80 release.
added logging info for each hold and release. perhaps that will provide
a clue in the future
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
When copying a packet we must increment the vcp refcounts
FIXES 17961
vos listvol -extended
with -format option (vos listvol -extended -format) had no effect.
After applying the patch,
vos listvol -extended -format
outputs tab delimited output.
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 17961
move variable declaration to the beginning of the block
Found another case in which the windows client could break connections
which should not be broken if cryptall is on. If the connection is
unauthenticated because there are no tokens, the connections will be
broken.
If a site relies on AFSDB records and the client machine is configured
to append a domain suffix to all queries it is possible for "foo" and
"foo.bar" to appear to be separate cells. fixed by appending a trailing
'.' to all AFSDB queries if there is not already one.
Update the comments to indicate how we force authentication to be
performed against the Windows logon cache instead of a domain controller
and how BackConnectionsHostNames will work in Longhorn Beta 1.
updates for 1.3.80
====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
update issues list
This patch applies all of the work done to add persistent cache support,
cache manager debugging, and a variety of bug fixes. A full description
will be committed within doc/txt/winnotes as part of a later commit.
FIXES 17792
"The attached patch
1) makes afs_linux_writepage_sync do the required lock_kernel and
AFS_GLOCK()'s instead of making the caller do it.
2) removes the 2.4+ afs_linux_updatepage wrapper function which just calls
afs_linux_writepage_sync and is only called by afs_linux_commit_write
3) removes the kmap/kunmap in afs_linux_{prepare,commit}_write on 2.6
since the caller of afs_linux_{prepare,commit}_write
(do_generic_file_write) does the kmap/kunmap itself, and has since before
2.4.19 (early 2.4's do require it, and it doesn't break anything to do it
twice, so !defined(AFS_LINUX26_ENV) is appropriate)"