From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964965AbbCRTtg (ORCPT ); Wed, 18 Mar 2015 15:49:36 -0400 Received: from mail-we0-f176.google.com ([74.125.82.176]:34877 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964942AbbCRTtc (ORCPT ); Wed, 18 Mar 2015 15:49:32 -0400 From: Daniel Baluta To: jlbec@evilplan.org Cc: linux-kernel@vger.kernel.org, lars@metafoo.de, daniel.baluta@intel.com Subject: [RESEND PATCH] configfs: init configfs module earlier at boot time Date: Wed, 18 Mar 2015 21:56:51 +0200 Message-Id: <1426708611-4874-1-git-send-email-daniel.baluta@intel.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Suggested-by: Lars-Peter Clausen Signed-off-by: Daniel Baluta --- First time I miscopied Joel's email address. fs/configfs/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index da94e41..5373567 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); -- 1.7.10.4