> > I'm not sure of the correct way to get the required nameidata (to do a
You don't need nameidata for this at all. Just call permission() with
a NULL nameidata.
Ugly API? Yes, will be cleaned up if we manage to find some common
ground with the VFS maintainers.
Miklos
--