Hi Ian,

At the top of autofs4_d_automount() you have:

        /* The daemon never triggers a mount. */
        if (autofs4_oz_mode(sbi))
                return NULL;

I think this should be returning -EISDIR.  If by some chance we do get here in
Oz mode, this will cause the kernel to just loop forever.  A return of NULL is
meant to indicate that you got a collision and that it should recheck the
mountpoint - but it does not advance path in follow_managed().

-EISDIR is the return to indicate this is to be treated as a normal directory.

David

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to