Ah. I think I see why we are failing to communicate. You are
thinking "namespace" and I am thinking "filesystem".
However, it's probably a bit academic.
I am now thinking that what I would want decode_fh or
fhandle_to_dentry or whatever to return would be a list of dentries,
one for each place in the filesystem that the particular file was
found.
This would probably mean passing an array of (struct dentry *) with
the understanding the every dentry put in the array would have been
dget()ed, and would need a dput().
It is tempting to use the d_alias list rather than an array, but I
think there be dragons there.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/