[PATCH 1/6] Add a dentry op to handle automounting rather than abusing follow_link() [ver #2]

David Howells dhowells at redhat.com
Mon Jul 26 10:19:57 EDT 2010


Ian Kent <raven at themaw.net> wrote:

> >  (4) Stops pathwalk at the automount point and returns that point in the fs
> >      tree if it decides not to automount rather than reporting ELOOP (see its
> >      use of EXDEV for this).

Does it make autofs easier if d_op->d_automount() is allowed to return -EXDEV
to request this?  Then you can return it in Oz mode to allow the daemon to
see/use the underlying mountpoint without recursing back into d_automount().

Ideally, the daemon would use AT_NO_AUTOMOUNT, but there's no way to pass that
to sys_mount() or sys_umount().

David



More information about the linux-afs mailing list