Skip to contentSkip to conversation

configfs: init configfs module earlier at boot time

PATCH RESEND Superseded Daniel Baluta 2 participants 2 messages Apr 7, 2015 – Apr 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
* Extended CC list with Al, Christoph and fsdevel :)

 fs/configfs/mount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/configfs/mount.c +1 -1
index da94e41..5373567 100644
@@ -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.9.1