[PATCH] Midi close race

From: Studierende der Universitaet des Saarlandes (masp0008@stud.uni-sb.de)
Date: Fri Sep 21 2001 - 05:38:23 EST


+ if (open_devs < 2)
+ del_timer(&poll_timer);

Probably you need del_timer_sync():
Otherwise the timer could be running on another cpu.

+ open_devs--;

--
	Manfred
(OT: Are there any mail archives that store the cc list? I'm not
subscribed to l-k, and if I answer a mail the cc list is always lost)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:42 EST