What if foo_exit() was already running when foo_open() was called?
AFAICS foo_exit() must either unlink the driver from all lists
(unregister_{filesystem,blkdev,chrdev}, netdev_unregister, ...) before
sleeping, or it must set a global variable that fails foo_open() calls.
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:30 EST