Date: Thu, 27 Nov 2008 16:47:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185373 - head/sys/kern Message-ID: <200811271647.mARGlP0B092182@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Nov 27 16:47:25 2008 New Revision: 185373 URL: http://svn.freebsd.org/changeset/base/185373 Log: Explicitely note that destroy_dev() sleeps. Requested by: ed (some time ago), Jaakko Heinonen <jh saunalahti fi> Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c ============================================================================== --- head/sys/kern/kern_conf.c Thu Nov 27 16:41:46 2008 (r185372) +++ head/sys/kern/kern_conf.c Thu Nov 27 16:47:25 2008 (r185373) @@ -862,6 +862,7 @@ void destroy_dev(struct cdev *dev) { + WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "destroy_dev"); dev_lock(); destroy_devl(dev); dev_unlock_and_free();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811271647.mARGlP0B092182>