Re: [PATCH 19/39] union-mount: Implement union lookup

From: Miklos Szeredi
Date: Fri Aug 13 2010 - 09:49:26 EST


On Sun, 8 Aug 2010, Valerie Aurora wrote:
> Implement unioned directories, whiteouts, and fallthrus in pathname
> lookup routines. do_lookup() and lookup_hash() call lookup_union()
> after looking up the dentry from the top-level file system.
> lookup_union() is centered around __lookup_hash(), which does cached
> and/or real lookups and revalidates each dentry in the union stack.
>
> XXX - implement negative union cache entries
>
> XXX - handle different permissions on directories

If process doing the lookup doesn't have write permission on the top
level directory then the lookup will fail. This is not intended, is
it?

Thanks,
Miklos
--
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/