freebsd-skq/sys/fs/devfs
Konstantin Belousov 3b50dff506 Stop enforcing additional reference on all cdevs, which was introduced
in r277199.  Acquire the neccessary reference in delist_dev_locked()
and inform destroy_devl() about it using CDP_UNREF_DTR flag.

Fix some style nits, add asserts.

Discussed with:	hselasky
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-01-19 17:36:52 +00:00
..
devfs_devs.c Stop enforcing additional reference on all cdevs, which was introduced 2015-01-19 17:36:52 +00:00
devfs_dir.c
devfs_int.h Stop enforcing additional reference on all cdevs, which was introduced 2015-01-19 17:36:52 +00:00
devfs_rule.c make path matching in devfs rules consistent and sane (and safer) 2013-07-26 14:25:58 +00:00
devfs_vfsops.c Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. 2012-11-09 18:02:25 +00:00
devfs_vnops.c Ignore devfs directory entries for devices either being destroyed or 2015-01-19 17:24:52 +00:00
devfs.h Introduce the "ruleset=number" option for devfs(5) mounts. 2012-02-09 10:09:12 +00:00