[Containers] [PATCH 2/7] proc: Modify proc_pident_lookup to be
completely table driven.
Jan Engelhardt
jengelh at linux01.gwdg.de
Wed Aug 16 07:48:58 PDT 2006
>
>-#define E(type,name,mode) {(type),sizeof(name)-1,(name),(mode)}
>+#define NOD(TYPE, NAME, MODE, IOP, FOP, OP) { \
>+ .type = (TYPE), \
>+ .len = sizeof(NAME) - 1, \
>+ .name = (NAME), \
>+ .mode = MODE, \
>+ .iop = IOP, \
>+ .fop = FOP, \
>+ .op = OP, \
>+}
Please () around MODE IOP FOP and OP, just like it's already done
with TYPE and NAME.
Jan Engelhardt
--
More information about the Containers
mailing list