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/