MFC r205734:

Fix lock leakage.

PR:             kern/145081
This commit is contained in:
Alexander Motin 2010-03-31 08:03:49 +00:00
parent e30013ae5c
commit 72208ab4ba

View File

@ -1071,6 +1071,7 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
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);