Question: how to retrieve drvdata from open() ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx
- Subject: Question: how to retrieve drvdata from open() ?
- From: Christophe LEROY <christophe.leroy@xxxxxx>
- Date: Mon, 27 Nov 2017 16:18:42 +0100
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
When registering a device node with device_create(), it is possible to
pass a drvdata pointer.
How can I retrieve that drvdata pointer from the open() fops ? I've not
been able to find any exemple.
Thanks
Christophe
[Index of Archives]
[Linux Ext4 Filesystem]
[Union Filesystem]
[Filesystem Testing]
[Ceph Users]
[Ecryptfs]
[AutoFS]
[Kernel Newbies]
[Share Photos]
[Security]
[Netfilter]
[Bugtraq]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux Cachefs]
[Reiser Filesystem]
[Linux RAID]
[Samba]
[Device Mapper]
[CEPH Development]