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
..
2015-01-19 06:53:31 +00:00
2015-01-19 15:52:32 +00:00
2015-01-18 23:15:49 +00:00
2014-10-12 18:01:52 +00:00
2014-09-25 19:10:32 +00:00
2015-01-19 11:52:08 +00:00
2014-12-27 07:07:37 +00:00
2015-01-18 03:43:47 +00:00
2014-09-23 06:32:19 +00:00