On Fri, Dec 02, 2005 at 01:12:27PM -0500, Trond Myklebust wrote: > On Sat, 2005-12-03 at 01:29 +0800, Ian Kent wrote: > > > It's sufficient to recognize the nameidata struct is NULL on a call > > from lookup_hash nothing more that I'm aware of is needed. If that changes > > then of course autofs will need to be changed. autofs also makes > > assumptions about what flags are set for different reasons. > > Consider those cases where the VFS calls ->lookup()/->d_revalidate() > with the nameidata argument set to NULL to be bugs. They are pretty much > all slated to be fixed soon in order to enable features like read-only > bind mounts etc.
They are still NULL in exactly one case: lookup_one_len. Given the design of lookup_one_len we can't get at a nameidata there at all. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
