summaryrefslogtreecommitdiff
path: root/fs/configfs/mount.c
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2015-05-06 02:23:54 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-05-06 03:10:11 +0300
commitf5b697700c86d7d01489202bfd37d86665754afd (patch)
tree3413d8c7d7553ec033075cbf935cacb047b1854d /fs/configfs/mount.c
parente386eed89c764f102fcc3c0d4c78c65a357f7399 (diff)
downloadlinux-f5b697700c86d7d01489202bfd37d86665754afd.tar.xz
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. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Suggested-by: Lars-Peter Clausen <lars@metafoo.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/configfs/mount.c')
-rw-r--r--fs/configfs/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c
index da94e41bdbf6..537356742091 100644
--- a/fs/configfs/mount.c
+++ b/fs/configfs/mount.c
@@ -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);