svn commit: r205734 - head/sys/dev/sound/pcm
Alexander Motin
mav at FreeBSD.org
Sat Mar 27 15:39:20 UTC 2010
Author: mav
Date: Sat Mar 27 15:39:19 2010
New Revision: 205734
URL: http://svn.freebsd.org/changeset/base/205734
Log:
Fix lock leakage.
PR: kern/145081
Modified:
head/sys/dev/sound/pcm/dsp.c
Modified: head/sys/dev/sound/pcm/dsp.c
==============================================================================
--- head/sys/dev/sound/pcm/dsp.c Sat Mar 27 15:05:06 2010 (r205733)
+++ head/sys/dev/sound/pcm/dsp.c Sat Mar 27 15:39:19 2010 (r205734)
@@ -1071,6 +1071,7 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd
if (IOCGROUP(cmd) == 'M') {
if (cmd == OSS_GETVERSION) {
*arg_i = SOUND_VERSION;
+ PCM_GIANT_EXIT(d);
return (0);
}
ret = dsp_ioctl_channel(i_dev, PCM_VOLCH(i_dev), cmd, arg);
More information about the svn-src-head
mailing list