Commit Graph

12 Commits

Author SHA1 Message Date
rees
9a6dbee3f6 protect new cdevsw entries with "#if (__FreeBSD_version > 502102)" 2004-02-22 05:49:38 +00:00
rees
60da34312f in idmap_uid_to_name(), don't try to use the entry after freeing it, in the
idmap_add failure case (found by Ted Unangst via Colin Percival)

also convert idmap_hashf to return void, since it can't fail

also change some panics to error returns
2004-02-21 22:52:02 +00:00
rees
588863d371 ask for rdattr_err in readdir, so we won't fail the readdir if we can't get
attrs on one or more entries
2004-02-21 22:10:35 +00:00
phk
ad925439e0 Device megapatch 4/6:
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.

Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
rees
db0f3972a8 whitespace changes only (prepare for merge from citi tree) 2004-02-20 16:57:36 +00:00
phk
6820b97e9b Use consistent style for cdevsw initialization 2004-02-14 20:04:25 +00:00
tjr
65e2a4b5fb Use automatic major number allocation for the nfs4 device instead of
stealing #29, which is already reserved for mcd.
2004-02-11 13:31:30 +00:00
alfred
316515f56f This patch fixes two little portability (to !GCC compilers) problems:
1. Use C99-style variable argument macros rather than GNU ones.
2. Don't cast id to ident_t.  Its type is already ident_t and casting to
   a union type is a constraint violation.

Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
2003-12-11 11:30:26 +00:00
alfred
a5dc4dbeb8 Use function pointers to remove the depenancy cross dependancy on nfs4
and the nfs3 client.  Also fix some bugs that happen to be causing crashes
in both v3 and v4 introduced by the v4 import.

Submitted by: Jim Rees <rees@umich.edu>
Approved by: re
2003-11-22 02:21:49 +00:00
alfred
29e7281295 Fix compliation on sparc64.
Change arg from uint32_t to size_t to match prototypes.
2003-11-15 01:25:26 +00:00
alfred
302841f20d unbreak LINT. 2003-11-15 00:26:42 +00:00
alfred
5b076fe9da University of Michigan's Citi NFSv4 kernel client code.
Submitted by: Jim Rees <rees@umich.edu>
2003-11-14 20:54:10 +00:00