chrdev_open lifetime question

From: Dmitry Torokhov
Date: Wed Mar 07 2007 - 17:23:33 EST


Hi,

It seems that if a process keeps a character device open then other
processes will also be able to get into filp->f_op->open(inode,filp)
in chrdev_open() even after a driver called cdev_del() as part of its
unwind procedure. Is this correct or am I missing something?

Thanks!

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/