Age | Commit message (Collapse) | Author |
|
ok thib@ 'emphatic' ok beck@
|
|
and nuke it's definition.
OK krw@, blamers@
|
|
nuke it's definition.
OK krw@, blambert@
|
|
#ifdef goo.
ok krw@, blambert@
|
|
ok beck@, blambert@
"Kill it. Kill it dead." krw@
|
|
make pretty.
ok krw@
|
|
variables, that are declared all over, since they are passed via macros
to nfs_rephead(); which doesn't do anything with it.
OK krw@
|
|
some spacing while there.
ok krw@
|
|
ok art@, blambert@
|
|
NQNFS leftover.
ok miod@,blambert@
|
|
authentication.
ok beck@
|
|
Cleanup and partly redo the way we create the RPC header, by having
nfsm_rpchead() do a bit more work. Right now this is pretty RPCAUTH_UNIX
centric, but since it is the only auth method we support right now thats
fine.
Make sure we can never generate a zero xid, thats forbidden by the RFC.
Misc cleanup.
tested by a few.
|
|
dependency on ELAST; ok miod thib
|
|
|
|
inline in the one place that it's called
ok thib@, weingart@
"I don't see why not" fgsch@
|
|
ok thib@ henning@ art@
|
|
Uneeded includes and casts...
ok krw@
|
|
ok thib@
|
|
(2 -> SHUT_RDWR in calls to soshutdown()).
From Iruata Souza.
ok deraadt@
|
|
prototypes.
(survived build/release on macppc/amd64).
ok pedro@
|
|
Prevents weird things from happening.
ok tedu@,pedro@
|
|
NQNFS leftover.
- Remove setting of the NFSMNT_DISMINPROG flag, its set
and unset in the same function servering no purpose,
im however going to reuse it shortly.
- kill an if thats always true (NFSMNT_KERB cant be set)
- misc cleanup and KNF.
ok beck@
|
|
smallish cleanup (move prototypes and externs togather).
ok toby@
|
|
ok pedro@
|
|
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles
too.
|
|
Basically the usage of daddr_t was to math out arguments to
nfs_getcacheblk, wich calls getblk();
ok deraadt@
|
|
nfsv2 client case, this matches v3 behaviour to that extent.
This is to work around the fact that when the namecache is large, we
dont purge vnodes correctly out of it.
ok beck@,pedro@
|
|
some comments and style.
ok tedu@
|
|
ok beck@
|
|
vintage 6 year old NFS bug.
ok beck@, looked at three times by art@
|
|
Pick reasonble names for the locks involved..
ok tedu@, art@
|
|
ok krw@
|
|
ok tedu@
|
|
be defined inside same. ramdisk_cd (has nfs, but is not a server)
compiles again.
|
|
* Remove alot of dead kerberos code like
the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where
originally to get the kerberos auth info into the kernel.
(that hasnt worked for long, if ever.)
Also remove some helper functions and associated goo, however
theres still alot of it left.
* Remove NFSSVC_BIOD, biod's where replaced with kernel threads
a long time ago.
* NFSSVC_MNTD wich was is NQNFS leftover.
Update the man page and nfsd(8).
nfssvc(2) besides being special has only one user in the tree
nfsd(8), therefore no library bumps are needed.
(discussed with deraadt@).
ok beck@, "go a head" deraadt@
Tested by ckuethe@
|
|
simplelock and reuse the name for the selinfo member.
Clean-up accordingly.
ok tedu@,art@
|
|
and recover for the client case (or terminate with EINTR if to many retries),
and in the server case, if we cant send due to f.x network troubles its up to
the client to retry not the server.
(server not responding messages are logged in another place though).
discussed with deraadt@
|
|
Replace nfs_kqinit() wich just calls lockinit with
RWLOCK_INITALIZER. Assorted cleanup.
ok tedu@
"reads good" art@
|
|
multiple defines all over;
ok tedu@
|
|
There's no need to extern stuff thats declared in the same file.
ok tedu@
|
|
Not doing so can lead to clients missing out if the file is for
example removed on the server and the client is doing a 'tail -f' on it.
If it returns ESTALE, mark the file deleted and proceed to handling the
next entry.
ok tedu@,art@
|
|
ok pedro@
|
|
ok pedro@
|
|
|
|
|
|
tends to .nfs silly files lying around during high filesystem activity.
whatever bug it was trying to fix, it made things worse.
|
|
crash when unmounting nfs volumes, okay thib@, krw@ and mickey@
|
|
effectively been a no-op for quite some time now,
without promise for future usage.
ok pedro@
Testing by krw@ (earlier diff)
and Johan Mson Lindman (tybollt@solace.miun.se)
|
|
|
|
Replace the pointer aerobics used to construct the
namecache hash with a more saner approach since the
former could lead to a null deref (PR5305).
Also make sure that the current buf is bigenough
before caching the current entry.
comments&ok pedro@
|