LICENSE MIT
reformat some of the recent changes
cast away warnings on 64-bit windows
(cherry picked from commit f64ecbf721dbc115103684a3d71a095854607812)
LICENSE IPL10
revise things so we don't need to check initd outside analyze.c/InitReq
====================
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.
====================
LICENSE IPL10
since these end up being used, init them too
(cherry picked from commit 6d14b44b7c83918bcd7e6e07ec365f8430ad23c5)
LICENSE IPL10
FIXES 120491
avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache
(cherry picked from commit 4a587356a31ac5afdf17d329a8598f70cf8bc3af)
LICENSE IPL10
FIXES 118058
fix the quoting and remove the tests we shouldn't need anymore
(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)
LICENSE MIT
FIXES 116641
Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8. Return bad file name errors in those
cases.
Make sure all file server strings once converted to UTF16 can be converted
back. If not, escape the invalid portions of the string so that the
file can be accessed.
LICENSE MIT
if an smb request takes longer than 45 seconds, log info to afsd_init.log
that might be helpful in determining patterns in the smb client disconnects
(cherry picked from commit 0c7d7ce3b8386a1aca6d1fc3d738c8621708eb95)
LICENSE MIT
add the error preprocessor symbol to the error string
if both an NRC_BRIDGE and NRC_NOWILD error are received within
the smb_Listener thread, try re-adding the NetbiosName to the lana
before giving up and quiting.
(cherry picked from commit 622f9b0de85f2a45d3a327cd8b8bea470dba9862)
LICENSE MIT
When reporting the attribute of a directory name which happens to be
a symlink object to a file that cannot be accessed or does not exist,
use the target name to guess the type of the object. If it has an
extension, consider it a file, otherwise report it as a directory.
(cherry picked from commit f9191fdebcf694f1a6afac8c0f4679c35114ce93)
LICENSE MIT
use WNetEnumXXX functions to list connected disk resources.
If the requested drive letter is an AFS resource, perform the pioctl
test. If it is not, fail immediately.
(cherry picked from commit 75f496df1727a5b1d00809fcf493c7c815c90816)
LICENSE MIT
windows-afsreg-20081017 wraps strings for wide char usage.
use the wide char versions of win32 apis to match.
(cherry picked from commit 4c79498bc3dd87cb45d1827133aff3c93c2caff8)
LICENSE MIT
wrap all text strings with TEXT() to permit use with wide char functions
(cherry picked from commit 81a921759520b03088ddcc37c1c624c0641981fc)
LICENSE MIT
update copyright dates
remove old AFS IFS entries
delete afslogon* and afscpcc.* from $SYSDIR
correct install location of afslogon.dll in WinLogon\Notify registry key
(cherry picked from commit c3251a3b18a83bf66d4d2f0a549fa573eccbdde2)
LICENSE MIT
log more data to afsd_init.log regarding events that
can cause the netbios name registration to become
invalid.
(cherry picked from commit bfd01550bddcce18f6f76e97231e21680a545e3f)
LICENSE MIT
FIXES 116641
Do not use the DNLC if the name when converted from Unicode is NULL.
(cherry picked from commit e0298d5f09d7e791aeb0f98438e299ad1faf186a)
LICENSE MIT
FIXES 116641
Do not drop references to 'nextp' until we are done with the object.
Dropping the last reference can result in the object being destroyed.
(cherry picked from commit 1115e29dacab98ed29ec603edfdaa8f697507daa)
LICENSE IPL10
FIXES 116603
sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely
(cherry picked from commit 24ce8010cd414c8c573f2b035d186a2418900546)
LICENSE IPL10
FIXES 121254
don't do duplicate work finding a vcache we already had
(cherry picked from commit 7c6fac305c81af3e10f48560c03db4d2da630527)
LICENSE IPL10
FIXES 98819 99069
add doxygen comments for some parts of openafs cache manager
====================
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.
====================
LICENSE IPL10
add doxygen comments for some parts of openafs cache manager
(cherry picked from commit 4b72f8765cdf88540354291e8e7072185538ae5d)
LICENSE IPL10
FIXES 121040
return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.
(cherry picked from commit 8b1b390713a79fadd300d17713350f5789879615)
LICENSE IPL10
raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects
(cherry picked from commit d569a083e337c2971a4ac471d8adeb1788518684)
LICENSE MIT
The rx library is built in lwp and pthread forms. The methods used to
export data symbols are incompatible between the two. The ubik library
is built with rx headers but only in the lwp form. As a result it is
not possible to link the ubik libs without also including the lwp rx
lib. We have pthreaded servers that require linking to the pthreaded
rx and ubik. To fix the problem all of the macros that assigned values
to variables and were used by ubik have been converted to functions
(but only for Windows.)
(cherry picked from commit 32977eadf12aaec6608ce3457a976a0810da8590)
LICENSE MIT
FIXES 120318
Lookups of cell names that have a trailing dot should have the dot removed
otherwise there is a risk of duplicate cell entries since "foo" and "foo."
will not match but both will resolve to the same AFSDB record in DNS.
(cherry picked from commit e7b06ab695b83114954b58bd8cd25e5c0ad3f395)