what happens to "open" if the slot is left empty in file_operations.
Sudip Mukherjee
sudipm.mukherjee at gmail.com
Sat Nov 14 03:16:14 EST 2015
On Sat, Nov 14, 2015 at 12:40 PM, Shiyao Ma <i at introo.me> wrote:
> Hi,
>
>
> When writing a char device driver, if the "open" slots is left vacant in
> the file_operations structure, what will happen if "open" is called ?
>
You can have a loot at chrdev_open() function in fs/char_dev.c file.
regards
sudip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151114/c34ea387/attachment.html
More information about the Kernelnewbies
mailing list