Char device question: cdev_del()
Rajat Jain <[email protected]> Fri, 18 Dec 2015 11:40:14 -0800
| Newsgroups | org.kernel.vger.linux-newbie |
|---|---|
| Message-ID | <CAA93t1qNPqMvSk9Cq4g5FzGOoD+r=SaiQ_dP9VwQ90ON5gXG2A@mail.gmail.com> |
Hi, What happens if the driver calls cdev_del() while one of the character device is being used (i.e. for. e.g. some process is in the middle of the ioctl call for that character device). Does the cdev_del() wait for that call to get completed? Is the driver guaranteed that once the cdev_del() returns, none of the driver character device operations are in use? Thanks, Rajat -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs