On May 3, 2015, at 2:15 PM, Greg Kroah-Hartman wrote:
> Also I found that cgroup does calls into kernfs directly,
gaining
> ability to register seq_file files and otherwise do all sorts of
> stuff that would be cool to do from lustre too ;)
If you want to make lustrefs, be my guest, you can do whatever you want
in that, using kernfs, but that's not ok for sysfs, sorry.
If only __kernfs_create_file was exported… ;)
Otherwise you cannot really do that from modules.
Bye,
Oleg