On Fri, Dec 18, 2015 at 11:40 AM, Rajat Jain <rajatxjain@xxxxxxxxx> wrote: > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs