Re: [PATCH v2] fail dentry revalidation after namespace change

From: Glauber Costa
Date: Fri Jul 06 2012 - 05:47:06 EST


On 07/06/2012 01:37 PM, Eric W. Biederman wrote:
> Glauber Costa <glommer@xxxxxxxxxxxxx> writes:
>
>> When we change the namespace tag of a sysfs entry, the associated dentry
>> is still kept around. readdir() will work correctly and not display the
>> old entries, but open() will still succeed, so will reads and writes.
>
> Note reads and writes of file handles open before the move should
> continue to work.

Well, yes. But do you see it as a big problem?

This can probably be fixed as well, but I foresee a big hackishness in
the way =p
--
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/