freebsd-skq/sys
David Schultz dd33f0d92f Merge kern___cwd() and vn_fullpath(), which were virtually identical,
except for places where people forget to update one of them.  We now
collect only one set of stats for both of these routines.  Other
changes in this commit include:

- Start acquiring Giant again in vn_fullpath(), since it is required
  when crossing a mount point.

- Expand the scope of the cache lock to avoid dropping it and
  picking it up again for every pathname component.  This also
  makes it trivial to avoid races in stats collection.

- Assert that nc_dvp == v_dd for directories instead of returning
  an error to userland when this is not true.  AFAIK, it should
  always be true when v_dd is non-null.

- For vn_fullpath(), handle the first (non-directory) vnode
  separately.

Glanced at by:  jeff, phk
2005-03-30 02:59:32 +00:00
..
alpha Add USB Communication Device Class Ethernet driver. Originally written for 2005-03-22 14:52:40 +00:00
amd64 Make ps_nargvstr and ps_nenvstr unsigned. This fixes an input 2005-03-23 08:27:59 +00:00
arm Bring in a version of float.h more correct for softfloat. 2005-03-20 00:34:24 +00:00
boot Ensure GCC does not use FP registers in integer code. 2005-03-15 18:43:36 +00:00
bsm Add a stub audit_kevents.h, which defines exactly one audit event: 2005-02-02 14:27:36 +00:00
cam Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't 2005-03-26 06:05:06 +00:00
coda - Don't panic if we can't lock a child in lookup, return an error instead. 2005-03-28 13:39:16 +00:00
compat Remove a couple of #ifdef 0'ed code blocks left over from Atheros debugging. 2005-03-30 02:50:06 +00:00
conf We don't need no major numbers 2005-03-29 11:26:14 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r143439, 2005-03-12 00:17:37 +00:00
crypto gbde(8) is also rejndael user. 2005-03-11 22:07:04 +00:00
ddb
dev Fixing kernel build on amd64 machines. 2005-03-30 02:33:33 +00:00
doc
fs - Remove wantparent, it is no longer necessary. An assert in vfs_lookup.c 2005-03-29 13:09:42 +00:00
gdb check return value of gdb_rx_varhex 2005-03-28 18:31:18 +00:00
geom fix a "modify after free" bug which is practically impossible to 2005-03-26 21:07:35 +00:00
gnu - Remove wantparent, it is no longer necessary. An assert in vfs_lookup.c 2005-03-29 13:09:42 +00:00
i4b Add device ID for Planet IA 128P-STD card. 2005-03-19 03:00:22 +00:00
i386 handle malloc failure and don't proceed when the bios call to 2005-03-29 01:48:21 +00:00
ia64 Add USB Communication Device Class Ethernet driver. Originally written for 2005-03-22 14:52:40 +00:00
isa - Don't enable periodic interrupts from the RTC by default in rtc_statusb. 2005-03-24 21:34:16 +00:00
isofs/cd9660 - We no longer have to bother with PDIRUNLOCK, lookup() handles it for us. 2005-03-28 09:34:36 +00:00
kern Merge kern___cwd() and vn_fullpath(), which were virtually identical, 2005-03-30 02:59:32 +00:00
libkern Add strspn() to libkern. 2005-02-10 20:39:39 +00:00
modules - Fix the hpfs build, hpfs_hash.c was removed from the repository. 2005-03-28 09:41:25 +00:00
net You must selwakeup{,pri}() when closing a selectable object or the 2005-03-27 23:16:17 +00:00
net80211 pass re-association events up using a new message type 2005-03-29 19:36:42 +00:00
netatalk When generating a phase II ARP lookup from aarpwhohas(), use a 2005-02-22 14:37:22 +00:00
netatm In the current world order, solisten() implements the state transition of 2005-02-21 21:58:17 +00:00
netgraph Add a possibility to bypass unmodified accounted data to special 2005-03-22 15:49:22 +00:00
netinet - Don't free mbuf, passed to interface output method if the latter 2005-03-29 13:43:09 +00:00
netinet6 check for malloc failure (also move malloc up to simplify error recovery) 2005-03-29 01:26:27 +00:00
netipsec correct space check 2005-03-09 15:28:48 +00:00
netipx Marginally reformat my copyright statement to remove the spurious ','. 2005-03-10 14:19:31 +00:00
netkey
netnatm Mark netatm and netnatm explicitly as requiring Giant, as they still do. 2005-02-17 14:21:22 +00:00
netncp avoid potential null ptr derefs 2005-02-23 22:44:38 +00:00
netsmb
nfs
nfs4client - Remove wantparent, it is no longer necessary. An assert in vfs_lookup.c 2005-03-29 13:09:42 +00:00
nfsclient - Remove wantparent, it is no longer necessary. An assert in vfs_lookup.c 2005-03-29 13:09:42 +00:00
nfsserver avoid potential null ptr deref by free'ing excess mbufs instead of 2005-03-28 18:51:58 +00:00
opencrypto just use crypto/rijndael, and nuke opencrypto/rindael.[ch]. 2005-03-11 17:24:46 +00:00
pc98 bus is unused, so eliminate it. 2005-03-28 22:11:58 +00:00
pccard Remove more deadwood that never got implemented in NEWCARD, since NEWCARD 2005-02-15 02:54:53 +00:00
pci Bring rev 1.31 to the AMD64 platform. 2005-03-28 18:06:44 +00:00
posix4
powerpc Add USB Communication Device Class Ethernet driver. Originally written for 2005-03-22 14:52:40 +00:00
rpc - Don't call rpcclnt_realign() if we don't have any mbufs to realign. 2005-03-19 01:16:25 +00:00
security Remove an accidental clearing of the new label pointer on a system V 2005-02-24 16:08:41 +00:00
sparc64 fix kldloading of pci driver modules after boot on sparc64... since 2005-03-23 18:16:26 +00:00
sys - Add a lock flag to the component name so that namei() may request a 2005-03-29 10:04:25 +00:00
tools Add VOP_FOO_APV() which takes a pointer to the vop_vector. 2005-02-08 12:54:32 +00:00
ufs - Remove wantparent, it is no longer necessary. An assert in vfs_lookup.c 2005-03-29 13:16:38 +00:00
vm Move the swap_zone == NULL check earlier (i.e. before we dereference 2005-03-18 21:22:48 +00:00
Makefile When building cscopnamefile, default architecture to ${MACHINE}, not i386. 2005-03-08 00:09:41 +00:00