Messages in this thread | | | Date | Sun, 12 Feb 2006 15:43:38 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: [RFC:PATCH 2/4] autofs4 - add v5 follow_link mount trigger method |
| |
> >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".
>+#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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |