devfs - Only check rules after inserting into topology
authorAlex Hornung <ahornung@gmail.com>
Fri, 19 Nov 2010 16:09:13 +0000 (16:09 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sun, 21 Nov 2010 08:53:22 +0000 (08:53 +0000)
commit951cde0415725e26217dd3939611aee9f8404b43
treefad5f5aef13fbd3ec15a3cc509000d06bd321f65
parentb2cd7307839283d23c176c3262b3694c26c428bc
devfs - Only check rules after inserting into topology

* Previously rules were checked in allocp before binding the node into
  the topology. Since the rule checking itself needs the topology,
  stuff(TM) didn't work properly.

* NOTE: this still doesn't fix the issue of rules not being applied
  correctly on mount, but it's the first step towards that end.

Dragonfly-bug: http://bugs.dragonflybsd.org/issue1885
sys/vfs/devfs/devfs_core.c