Messages in this thread | | | Date | Tue, 23 Jun 2009 17:33:40 +0100 | From | Alan Cox <> | Subject | Re: [RFC] O_NOACC: open without any access |
| |
On Tue, 23 Jun 2009 17:10:52 +0100 David Howells <dhowells@redhat.com> wrote:
> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote: > > > So how are you going to make that work in conjunction with the in > > progress work on doing stuff like revoke(), and with module reference > > counting ? > > Reference count on which module? This would not take a reference on the device > driver as it would not refer to it, but would still have a file struct, an > inode struct and a dentry struct on the underlying fs.
Which means the device could be unloaded, something else loaded and your handle wouldn't be invalidated but would be stale ?
Perhaps it would make more sense to me if I knew why you needed to do this ?
| |