add externs removed and missed
====================
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.
====================
ok, another try. don't include protosw.h here and let sysincludes.h pull it in
====================
one more missed extern
====================
keep trying...
====================
fix weird redefintion problem with kmem_alloc
====================
can't know this sort of thing (and it's wrong at least sometimes)
to other things. Features of the new cell code:
* Persistent name-to-cell-number mapping across reboots, to ensure the
cell numbers in the dcache are meaningful. Stored in the new cache
file, /usr/vice/cache/CellInfo.
* Allow cmdebug to query the cell number to cell name mapping.
* Allow clients to have an empty CellServDB as long as AFSDB is enabled
and ThisCell has AFSDB records.
* The home cell retains the setuid bit even if looked up via AFSDB.
* Dynroot gets its own cell, rather than piggybacking on cell 1.
* Cell 1 is no longer special; cell numbers are now semi-opaque.
* Convert cell traversal code to using GetCellByIndex rather than
directly poking at CellLRU / afs_xcell.
* Separate cells from aliases, which shouldn't have been the same
in the first place.
* Cleaner code (IMHO).
====================
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.
====================
make the arguments afs_CellNumValid takes match the prototype (since it
really is a afs_int32 it looks like)
====================
update irix to deal
====================
update irix to deal
====================
Fix some more references to the now-nonexistant cell->index
hopefully last of the lwp fun
====================
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.
====================
make it build on the bsds
====================
nope. this time for sure (more lwp createprocess casting)
====================
clean up osi_UFSOpen prototyping
====================
aix gets bitter at this
====================
fix missed argument
====================
again, aix doesn't like this. so, we don't do it
====================
yup, aix still hates this
====================
dux compiler doesn't like this (i think this one is actually my fault)
====================
already prototyped in rxkad_prototypes.h
====================
causes multiple inclusion of protosw.h which isn't safe on irix.
====================
for some reason you just can't declare the same thing the same way twice
====================
make dux compiler happy. oops.
screw it. if winnt can have generic pointers, so can we
====================
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.
====================
and cast all the pointers
the kernel yet. Previously, newcell tried to issue a GetCell pioctl
to figure out what version of the pioctl interface the kernel is
using. Lacking such information (if the pioctl returns an error),
we now assume the newer interface.
fix the following problems
- including osi_vfs.h on almost all platforms, even though afsincludes.h
already deals with it
- universally declaring afs_globalVFS as a struct vfs *
- declaring afs_stats_XferSumBytes in a header without a storage class
- using afsincludes.h without sysincludes.h
- make clean removes a source file in rxkad
====================
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.
====================
irix needs this, put it back
====================
cast parm argument to CreateProcess
====================
more lwp createprocess fun
====================
more lwp
Changing the length and offset fields from afs_int64 to afs_uint64 gave
strange results for CompareInt64 and SubtractInt64. Therefore it's
better to cast the values as signed in these macros.
This patch adds support for building OpenAFS user-mode code on SunOS 4.
It does not include libafs, ulibafs, or any code that needs to understand
the filesystem layout (so, no vfsck, and while the salvager will be built,
it won't work).
shadow@dementia.org at least partly to blame.
hold the dcache lock only briefly; instead put dcache entries to be junked
onto a free list, by unhashing them, then grab the dcache lock, junk them,
and release it.
avoid potential race for shrink_dcache_parent/d_drop
smbfs and nfs do equivalent.
====================
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.
====================
avoid potential race for shrink_dcache_parent/d_drop
smbfs and nfs do equivalent.
slight rework to avoid holding glock in a way which could deadlock us
a BK volume. find treats it as a fatal error, and it's annoying not to be
able to naively use find to recurse through a volume with its backup volume
mounted. Never noticed this before because we used to ignore this return
value. Return ENODEV instead.