2002-09-26 09:50:03

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] IDE wrong lock


One missing instance: ide_{get,release}_lock() operate on ide_intr_lock, not on ide_lock.

--- linux-2.5.38/drivers/ide/ide.c Wed Sep 18 10:36:42 2002
+++ linux-m68k-2.5.38/drivers/ide/ide.c Wed Sep 18 10:48:17 2002
@@ -1097,7 +1097,7 @@
*/

/* for atari only */
- ide_release_lock(&ide_lock);
+ ide_release_lock(&ide_intr_lock);
hwgroup->busy = 0;
}


Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds