From 1fd2b9091152080c075df2ecbc4654e6d28eebbf Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 25 Jul 2004 20:16:51 +0000 Subject: [PATCH] Add netatalk mutexes to hard-coded WITNESS lock order. --- sys/kern/subr_witness.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index c5d4ae8cb2d1..cf46c245b42d 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -311,6 +311,12 @@ static struct witness_order_list_entry order_lists[] = { { "slip_mtx", &lock_class_mtx_sleep }, { "slip sc_mtx", &lock_class_mtx_sleep }, { NULL, NULL }, + /* + * netatalk + */ + { "ddp_list_mtx", &lock_class_mtx_sleep }, + { "ddp_mtx", &lock_class_mtx_sleep }, + { NULL, NULL }, /* * spin locks */