David Schultz
c0a3c58e99
- Don't call rpcclnt_realign() if we don't have any mbufs to realign.
...
- Remove a bogus and unneeded null pointer check.
Found by: Coverity Prevent analysis tool
Approved by: alfred
2005-03-19 01:16:25 +00:00
Warner Losh
60727d8b86
/* -> /*- for license, minor formatting changes
2005-01-07 02:29:27 +00:00
Jim Rees
af341d82c4
fix array index out of bounds in rpc->rc_srtt[], rpc->rc_sdrtt[]
...
Noticed by: tedu
Approved by: alfred
2004-07-15 22:21:25 +00:00
Robert Watson
f3ce707a18
Constify 'rpcclnt_backoff'.
2004-07-12 19:37:08 +00:00
Alexander Kabaev
186c0bc04b
Reset callout if in nfs_timeout and rpcclnt_timeout functions. Timer
...
are supposed to continue firing as long as there is work to do, not
stop after the first invocation.
This is damage control after a patch that has been committed prematurely.
Tested by: kris
2004-03-28 05:55:27 +00:00
Jim Rees
f9955a5f53
only do nfs rpc callouts if there is work to do.
...
Submitted by: kan
Approved by: alfred
2004-03-25 21:48:09 +00:00
Alexander Kabaev
bc9d2845f4
Convert from timeout to callout API.
2004-03-07 16:23:03 +00:00
Alfred Perlstein
95f94a7ff7
Don't panic because of RPC proto mismatches. Whitespace cleanup.
...
Submitted by: Jim Rees <rees@umich.edu>
2004-01-17 21:25:05 +00:00
Alfred Perlstein
b0d8e5b388
Prevent a panic when mounting a v2/v3 only server with mount_nfs4.
...
Submitted by: Jim Rees <rees@umich.edu>
Reported/testing: Florian C. Smeets <flo@kasimir.com>
2004-01-13 01:04:36 +00:00
Alfred Perlstein
3f5c95f772
Fix a panic when attempting a v4 op against a v3/v2-only server.
...
It happens because rpcclnt_request is incorrectly returning 0 in the case
of an rpc mismatch or auth error.
Submitted by: Jim Rees <rees@umich.edu>
2004-01-10 02:59:54 +00:00
Alfred Perlstein
ce98b952c4
Use %zu to printf a size_t instead of an int cast.
...
Requested by: jmallett, wollman
2003-11-15 01:58:47 +00:00
Alfred Perlstein
d4346413c3
Fix compilation warnings on sparc.
...
Cast sizeof to int for printing with %d.
2003-11-15 01:24:46 +00:00
Alfred Perlstein
1bf8720450
University of Michigan's Citi NFSv4 kernel client code.
...
Submitted by: Jim Rees <rees@umich.edu>
2003-11-14 20:54:10 +00:00