Date: Tue, 14 Jan 2003 09:13:52 -0800 (PST) From: Olivier Houchard <cognet@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm sound.c Message-ID: <200301141713.h0EHDqmC073307@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cognet 2003/01/14 09:13:52 PST
Modified files:
sys/dev/sound/pcm sound.c
Log:
Don't call destroy_dev it a channel has children.
vchan creation doesn't lead to /dev entry creation if the new vchan is the
first child of a channel,
This fix a panic that happens when loading a sound driver module, creating
vchans and unloading the driver.
Approved by: cg
MFC after: 3 days
Revision Changes Path
1.81 +1 -1 src/sys/dev/sound/pcm/sound.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301141713.h0EHDqmC073307>
