[OpenAFS-devel] directory inodes with multiple dentries
Derrick J Brashear
shadow@dementia.org
Sun, 8 May 2005 02:13:34 -0400 (EDT)
On Wed, 27 Apr 2005, Chaskiel M Grundman wrote:
> Various comments and documentation in/about the linux kernel state that
> inodes that belong to directories cannot have multiple dentry objects (called
> 'aliases' in this case) associated with them. AFS can violate this
> restriction in a couple of cases:
[]
> I have a patch for this that seems to work, but I'd like some of the other
> linux-aware people on the list to look it over and let me know if my use of
> d_find_alias is appropriate here or if I should be doing something else.
> Suggestions for what conditional I should be using would be welcome.
>
> <http://www.contrib.andrew.cmu.edu/~cg2v/openafs-patches/osi_vn_alias.diff>
>
> It has been requested that I try to make sure that the (one and only) dentry
> never has the @sys name in it. The only way we came up to do this is to
> extend the afs_lookup() interface to return the translated name if @sys
> processing was done. Does this seem appropriate?
Does anyone else care to comment on this?