Re: [PATCH 2/5] revoke: core code

From: Andrew Morton
Date: Fri Mar 16 2007 - 16:54:55 EST


On Fri, 16 Mar 2007 22:37:57 +0200 "Pekka Enberg" <penberg@xxxxxxxxxxxxxx> wrote:

> What we could do is add a "I am revoked" flag to struct file which
> blocks any future ->readpage, ->readpages, and ->direct_IO on the
> file. Alternatively, we could change the ->f_mapping to point to an
> address space that has "revoked address space" operations. Hmm.

iirc, that was part of the rationale for the introduction of f_mapping.

I'll cc he-who-never-replies, who did that work.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/