Hi Al,

On Wed, 11 Jul 2007, Al Viro wrote:
> Better: I have the only opened descriptor for foo.  I send it to myself
> as described above.  I close it.  revoke() is called, finds no opened
> instances of foo in any descriptor tables and cheerfully does nothing.
> I call recvmsg() and I have completely undamaged opened file back.

Uhm, nice. So, revoke() needs a proper inode -> struct files mapping 
somewhere. Can we add a list of files to struct inode? Are there other 
cases where a file can point to an inode but the file is not attached to 
any file descriptor?

                                Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to