1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix lock leakage.

PR:		kern/145081
This commit is contained in:
Alexander Motin 2010-03-27 15:39:19 +00:00
parent 5a64472b2a
commit 42d008a11c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205734

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);