lkml.org 
[lkml]   [2010]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/6] Add a dentry op to handle automounting rather than abusing follow_link() [ver #2]
Date

Ian Kent <raven@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


\
 
 \ /
  Last update: 2010-07-26 16:23    [W:1.115 / U:0.820 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site