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-04 10:40:23 +00:00
2014-10-28 04:59:33 +00:00
2014-12-14 08:43:13 +00:00
2014-03-14 06:29:43 +00:00
2015-01-05 20:50:44 +00:00
2014-06-26 13:57:44 +00:00
2014-08-11 15:06:07 +00:00
2014-11-28 09:32:07 +00:00
2015-01-04 10:40:23 +00:00
2014-10-15 12:38:26 +00:00
2014-10-09 02:30:38 +00:00
2014-11-30 12:52:33 +00:00
2014-11-23 12:01:52 +00:00