Re: Char device question: cdev_del()

Rajat Jain <[email protected]> Fri, 18 Dec 2015 11:41:28 -0800
Newsgroups org.kernel.vger.linux-newbie
Message-ID <CAA93t1oBCT=MhViFV1GR9myb4K9fdeYWU=u-8a2euws7SDYLiw@mail.gmail.com>
On Fri, Dec 18, 2015 at 11:40 AM, Rajat Jain <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs