Christoph Hellwig wrote:
To rephrease the above: With current mainline the nameidata argument
is always valid when ->lookup or ->d_revalidate are called except when
the filesystem uses lookup_one_len. lookup_one_len is a helper for fileystem
usage that is only valid to be used on the filesystems own trees.
Is this documented anywhere? How is one to know about this restriction
since it isn't obvious from the code? And if this function is only to
be used to lookup in ones own filesystem how is a filesystem supposed to
lookup a file in another filesystem if they already have a directory
dentry in hand? Walking up the dentry tree to recreate a path name so
you can call path_walk seems a bit much. Without this capablility how
does one write a stackable file system?
Will
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs