svn commit: r205972 - stable/8/sys/dev/sound/pcm

Alexander Motin mav at FreeBSD.org
Wed Mar 31 08:03:50 UTC 2010


Author: mav
Date: Wed Mar 31 08:03:49 2010
New Revision: 205972
URL: http://svn.freebsd.org/changeset/base/205972

Log:
  MFC r205734:
  Fix lock leakage.
  
  PR:             kern/145081

Modified:
  stable/8/sys/dev/sound/pcm/dsp.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/sound/pcm/dsp.c
==============================================================================
--- stable/8/sys/dev/sound/pcm/dsp.c	Wed Mar 31 08:02:16 2010	(r205971)
+++ stable/8/sys/dev/sound/pcm/dsp.c	Wed Mar 31 08:03:49 2010	(r205972)
@@ -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-stable mailing list