freebsd-dev/sys
Dag-Erling Smørgrav f61bc4ea5e Further pseudofs improvements:
The pfs_info mutex is only needed to lock pi_unrhdr.  Everything else
in struct pfs_info is modified only while Giant is held (during
vfs_init() / vfs_uninit()); add assertions to that effect.

Simplify pfs_destroy somewhat.

Remove superfluous arguments from pfs_fileno_{alloc,free}(), and the
assertions which were added in the previous commit to ensure they were
consistent.

Assert that Giant is held while the vnode cache is initialized and
destroyed.  Also assert that the cache is empty when it is destroyed.

Rename the vnode cache mutex for consistency.

Fix a long-standing bug in pfs_getattr(): it would uncritically return
the node's pn_fileno as st_ino.  This would result in st_ino being 0
if the node had not previously been visited by readdir(), and also in
an incorrect st_ino for process directories and any files contained
therein.  Correct this by abstracting the fileno manipulations
previously done in pfs_readdir() into a new function, pfs_fileno(),
which is used by both pfs_getattr() and pfs_readdir().
2007-04-14 14:08:30 +00:00
..
amd64 Eliminate the misuse of PG_FRAME to truncate a virtual address to a virtual 2007-04-13 16:07:29 +00:00
arm Don't expose the uart_ops structure directly, but instead have 2007-04-02 22:00:22 +00:00
boot Add zfs_load here. 2007-04-09 22:09:09 +00:00
bsm
cam A fix for the SG_GET_TIMEOUT function slipped into a previous commit by 2007-04-10 20:03:42 +00:00
cddl MFp4: Use max_ncpus, which is used in other places in the code. 2007-04-14 12:33:47 +00:00
coda
compat Some Linux applications (ping) pass a non-NULL msg_control argument to 2007-04-14 10:35:09 +00:00
conf Fix build, trunk is a device not an option. 2007-04-10 03:09:38 +00:00
contrib MFp4: Use max_ncpus, which is used in other places in the code. 2007-04-14 12:33:47 +00:00
crypto
ddb
dev o Extend the list of supported CDMA-2000 terminals. 2007-04-13 18:15:07 +00:00
fs Further pseudofs improvements: 2007-04-14 14:08:30 +00:00
gdb
geom -) Correct sdcount for a plex when removing or adding subdisks. 2007-04-12 17:54:35 +00:00
gnu Change #include <machine/pcpu.h> to #include <sys/pcpu.h> 2007-04-01 12:48:10 +00:00
i4b Tell the user when the setup of the interrupt handler failed and return 2007-04-01 16:52:54 +00:00
i386 Eliminate the misuse of PG_FRAME to truncate a virtual address to a virtual 2007-04-13 16:07:29 +00:00
ia64 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
isa
kern Fix jails and jail-friendly file systems handling: 2007-04-13 23:54:22 +00:00
libkern strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
modules On i386 compile the back-end with EISA support as well as the EISA 2007-04-10 20:33:31 +00:00
net Fix a case where the multicast addresses were not removed from some ports. The 2007-04-12 01:58:57 +00:00
net80211
netatalk
netatm Fix use after free bug: use temporary variable to hold next entry in linked 2007-04-03 12:45:10 +00:00
netgraph We don't need spinning locks here. Change them to the adaptive mutexes. This 2007-03-31 15:43:06 +00:00
netinet - fix source address selection when picking an acceptable address 2007-04-14 09:44:09 +00:00
netinet6 - fix source address selection when picking an acceptable address 2007-04-14 09:44:09 +00:00
netipsec Update comment regarding how we check privilege on FreeBSD: we now use 2007-04-10 16:09:00 +00:00
netipx
netkey
netnatm
netncp
netsmb Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
nfs
nfs4client
nfsclient
nfsserver - Split out the part of SYSCALL_MODULE_HELPER() that builds a 'struct 2007-04-02 13:53:26 +00:00
opencrypto Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
pc98 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
pccard
pci
powerpc Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
rpc Move rpc/types.h under sys/, as this is used by ZFS kernel module. 2007-04-10 22:10:16 +00:00
security Fix the handling of IPv6 addresses for subject and process BSM audit 2007-04-13 14:55:19 +00:00
sparc64 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
sun4v Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
sys Fix the handling of IPv6 addresses for subject and process BSM audit 2007-04-13 14:55:19 +00:00
tools
ufs Fix the NAMEI zone leak when snapshot was successfully created. 2007-04-10 09:31:42 +00:00
vm Minor typo fix, noticed while I was going through *_pager.c files. 2007-04-10 12:34:51 +00:00
Makefile