kib 91d0c7d581 Fix accounting for the negative cache entries when reusing v_cache_dd.
Having ncneg diverge with the actual length of the ncneg tailq causes
NULL dereference.

Add assertion that an entry taken from ncneg queue is indeed negative.

Reported by and discussed with:	avg
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-12-27 17:09:59 +00:00
..
2013-12-15 23:20:26 +00:00
MFC
2011-05-31 21:22:44 +00:00
2013-12-17 16:45:19 +00:00
2012-08-22 20:01:57 +00:00
2012-03-28 20:58:30 +00:00
2012-11-14 10:33:12 +00:00
2012-06-25 05:41:16 +00:00
2012-09-04 23:16:55 +00:00
2012-01-26 16:35:09 +00:00
2013-11-28 18:56:34 +00:00
2013-09-19 18:56:00 +00:00
2012-01-02 12:12:10 +00:00
2012-10-25 09:05:21 +00:00
2013-11-14 09:45:33 +00:00
2013-11-08 20:11:15 +00:00
MFC
2013-02-21 21:59:35 +00:00
2013-06-29 05:05:57 +00:00
2013-10-04 07:00:59 +00:00