DEVFS - delete rule-created aliases on rule reset
authorAlex Hornung <ahornung@gmail.com>
Fri, 7 Aug 2009 21:32:29 +0000 (22:32 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 7 Aug 2009 22:24:31 +0000 (23:24 +0100)
commit1cb12919c84023356310f72ca191454679bba3aa
tree0d08433e0575765edbb81d952e5cb492ec133444
parent2848f1b83cc502afa2f7afb8af5d3fb7d60b46e0
DEVFS - delete rule-created aliases on rule reset

* add a new devfs flag, DEVFS_RULE_CREATED, which is set for alias
  nodes created from within the rule system.

* On rule reset, if a node is an alias and has the flag set, it is
  unlinked and freed.
sys/vfs/devfs/devfs.h
sys/vfs/devfs/devfs_core.c
sys/vfs/devfs/devfs_rules.c