Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv2797

Modified Files:
        pcm_native.c 
Log Message:
Ralf Zink <[EMAIL PROTECTED]> - fixed the error path (mutex) in open()

Index: pcm_native.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_native.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- pcm_native.c        30 Sep 2003 09:28:26 -0000      1.82
+++ pcm_native.c        10 Oct 2003 14:44:56 -0000      1.83
@@ -1982,9 +1982,9 @@
                }
        }
        remove_wait_queue(&pcm->open_wait, &wait);
+       up(&pcm->open_mutex);
        if (err < 0)
                goto __error;
-       up(&pcm->open_mutex);
        return err;
 
       __error:



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to