Re: [RFC:PATCH 2/4] autofs4 - add v5 follow_link mount trigger method

From: Ian Kent
Date: Sun Feb 12 2006 - 11:51:59 EST



On Sun, 12 Feb 2006, Jan Engelhardt wrote:

> >
> >This patch adds a follow_link inode method for the root of
> >an autofs direct mount trigger. It also adds the corresponding
> >mount options and updates the show_mount method.
> >
> >+ if (sbi->type & AUTOFS_TYP_OFFSET)
> >+ seq_printf(m, ",offset");
> >+ else if (sbi->type & AUTOFS_TYP_DIRECT)
> >+ seq_printf(m, ",direct");
> >+ else
> >+ seq_printf(m, ",indirect");
> >+
>
> Just a little nitpick: in English, it's usually "type" not "typ".

OK. But this was intentional.

In fact the same thought occured to me this evening when I was preparing
the patches. I'll consider it for the final post.

Thanks

>
> >+#define AUTOFS_TYP_INDIRECT 0x0001
> >+#define AUTOFS_TYP_DIRECT 0x0002
> >+#define AUTOFS_TYP_OFFSET 0x0004
>
> >+ unsigned int type;
>
>
> Jan Engelhardt
> --
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/