configfs: init configfs module earlier at boot time
PATCH RESEND 1/1 configfs: init configfs module earlier at boot time
We need this earlier in the boot process to allow various subsystems to use configfs (e.g Industrial IIO).
Also, debugfs is at core_initcall level and configfs should be on the same level from infrastructure point of view.
---
First time I miscopied Joel's email address.
fs/configfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/configfs/mount.c +1 -1
@@ -173,5 +173,5 @@ MODULE_LICENSE("GPL");MODULE_VERSION ("0.0.2" );MODULE_DESCRIPTION ("Simple RAM filesystem for user driven kernel subsystem configuration." ); -module_init (configfs_init); +core_initcall (configfs_init);module_exit (configfs_exit);
Signature · 1 line
1.7.10.4
Quoted 19 lines · Daniel Baluta
We need this earlier in the boot process to allow various subsystems to use configfs (e.g Industrial IIO).
Also, debugfs is at
core_initcalllevel and configfs should be on the same level from infrastructure point of view.Suggested-by Lars-Peter Clausen <[email protected]>Signed-off-by Daniel Baluta <[email protected]>---
First time I miscopied Joel's email address.fs/configfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/configfs/mount.c +0
-0
fs/configfs/mount.c MODULE_LICENSE("GPL");
Quoted 7 lines
fs/configfs/mount.c +1
-2@@ -173,5 +173,5 @@ MODULE_LICENSE("GPL");MODULE_VERSION ("0.0.2" );MODULE_DESCRIPTION ("Simple RAM filesystem for user driven kernel subsystem configuration." ); -module_init (configfs_init); +core_initcall (configfs_init);module_exit (configfs_exit); --
Hi Joel,
Did you get any chance to look into this? I am not sure exactly who should take this, so I'm adding Greg.
The original patch can also be found here:
https://lkml.org/lkml/2015/3/18/751
Daniel.