Skip to contentSkip to conversation

Still one lock to fix in init.c

DISCUSSION Chris Rankin 2 participants 2 messages Dec 8, 2002 – Dec 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I think you missed one ;-) ...

Cheers,
Chris

Index: alsa-kernel/core/init.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/init.c,v
retrieving revision 1.24
diff -u -u -r1.24 init.c
--- alsa-kernel/core/init.c 8 Dec 2002 11:08:38
-0000 1.24
+++ alsa-kernel/core/init.c 8 Dec 2002 21:54:22
-0000
@@ -154,7 +154,7 @@

        spin_lock(&card->files_lock);
        if (card->shutdown) {
-               write_unlock(&card->files_lock);
+               spin_unlock(&card->files_lock);
                return 0;
        }
        card->shutdown = 1;

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Sun, 8 Dec 2002 21:56:44 +0000 (GMT),

Quoted 4 lines · Chris Rankin

Hi,

I think you missed one ;-) ...

thanks, i applied it.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf