DEVFS - Rollup
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 04:23:30 +0000 (21:23 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Aug 2009 04:55:24 +0000 (21:55 -0700)
commitca8d7677b7d28d7b85590e5ad8572db1f3d96bf3
treed524cf36057a75702cfa4122fd2ea0e000f18e31
parentfc5a587b61a06a18d600a7a1d57f74059486c546
DEVFS - Rollup

* Use a dynamically sized dirent structure for devfs_nodes, saving a lot
  of memory.

* Fix m_* lexical space overloading issues.

* Fix issues with numerous uninitialized fields.

* Completely initialize the devfs_node before making it visible to
  userland.

* Properly invalidate negative entries in the namecache when adding new
  devfs nodes.  Also properly recycle disconnected vnodes.

* Properly disassociate a devfs node from its vnode when freeing the
  devfs node.

* Clarify device reference counts and fix a bug or two.

* Get reprobes working.  Sniff writes and automatically reprobe the
  whole disk or a particular slice on close() if the MBR or label area
  is modified.

* Fix memory leak when mounting/umounting devfs.

Submitted-by: Alex Hornung <ahornung@gmail.com>
sys/vfs/devfs/devfs.h
sys/vfs/devfs/devfs_core.c
sys/vfs/devfs/devfs_helper.c
sys/vfs/devfs/devfs_vfsops.c
sys/vfs/devfs/devfs_vnops.c