CDEV lock should be before 'system map' lock.

Hardcode this order to help track down reported LOR.

LOR reported by:	Thierry Herbelot <thierry@herbelot.com>
LOR info:		http://sources.zabbadoz.net/freebsd/lor.html#080
This commit is contained in:
Pawel Jakub Dawidek 2005-04-09 13:32:01 +00:00
parent 5ef9827cea
commit c19618dd7d

View file

@ -330,6 +330,12 @@ static struct witness_order_list_entry order_lists[] = {
{ "nfsd_mtx", &lock_class_mtx_sleep },
{ "so_snd", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* CDEV
*/
{ "cdev", &lock_class_mtx_sleep },
{ "system map", &lock_class_mtx_sleep },
{ NULL, NULL },
/*
* spin locks
*/