> >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 -- _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
