[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090623173340.66f71915@lxorguk.ukuu.org.uk>
Date: Tue, 23 Jun 2009 17:33:40 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: David Howells <dhowells@...hat.com>
Cc: dhowells@...hat.com, Miklos Szeredi <miklos@...redi.hu>,
hch@...radead.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org,
viro@...IV.linux.org.uk, adilger@....com, akpm@...ux-foundation.org
Subject: Re: [RFC] O_NOACC: open without any access
On Tue, 23 Jun 2009 17:10:52 +0100
David Howells <dhowells@...hat.com> wrote:
> Alan Cox <alan@...rguk.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 ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists