From: Pekka J Enberg <penberg@cs.helsinki.fi>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: [RFC/PATCH 2/5] revoke: core code
Date: Wed, 11 Jul 2007 12:50:48 +0300 (EEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707111247180.12522@sbz-30.cs.Helsinki.FI> (raw)
In-Reply-To: <20070711094251.GV21668@ftp.linux.org.uk>
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
next prev parent reply other threads:[~2007-07-11 9:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 9:01 [RFC/PATCH 2/5] revoke: core code Pekka J Enberg
2007-07-11 9:37 ` Al Viro
2007-07-11 9:42 ` Al Viro
2007-07-11 9:50 ` Pekka J Enberg [this message]
2007-07-11 10:09 ` Al Viro
2007-07-11 10:54 ` Pekka J Enberg
2007-07-11 10:01 ` Pekka J Enberg
2007-07-11 10:18 ` Al Viro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0707111247180.12522@sbz-30.cs.Helsinki.FI \
--to=penberg@cs.helsinki.fi \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).