Nick Piggin wrote:
> I guess you could have a flag in the vfsmount which you could then set
> to have lookup_mnt (and hence follow_mount etc) ignore it.
> 
> Unsetting / decrementing d_mounted I guess works, but I would just
> be worried if other mounts can be attached to the dentry then you
> might ignore that other mount or even follow your autofs mount.i

The other thing worth mentioning is that these mounts are entirely
managed by the user space daemon, no-one else can mount within the
autofs fs (well almost), unless a privileged user space process
deliberately uses ioctls to change that.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to