Re: [PATCH 4/6] procfs: generalize the translator linkage code

2014-09-21 Thread Justus Winter
Quoting Justus Winter (2014-09-21 12:12:34) > Generalize the translator linkage code previously introduced for the > `mounts' node. > ... > (ROOTDIR_DEFINE_TRANSLATED_NODE): New convenience macro to define > translated nodes. > ... > +#define ROOTDIR_DEFINE_TRANSLATED_NODE(ARGZ)

[PATCH 4/6] procfs: generalize the translator linkage code

2014-09-21 Thread Justus Winter
Generalize the translator linkage code previously introduced for the `mounts' node. * procfs/rootdir.c (struct procfs_translated_node_ops): New specialized node operations structure for translated nodes. (rootdir_mounts_make_node): Generalize and rename to rootdir_make_translated_node. Also, pass