Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbbDBHeX (ORCPT ); Thu, 2 Apr 2015 03:34:23 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34883 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752913AbbDBHeU (ORCPT ); Thu, 2 Apr 2015 03:34:20 -0400 MIME-Version: 1.0 In-Reply-To: <1426708611-4874-1-git-send-email-daniel.baluta@intel.com> References: <1426708611-4874-1-git-send-email-daniel.baluta@intel.com> Date: Thu, 2 Apr 2015 10:34:18 +0300 X-Google-Sender-Auth: UI7qwSV438RQjXbGw0H9q6Ul7gA Message-ID: Subject: Re: [RESEND PATCH] configfs: init configfs module earlier at boot time From: Daniel Baluta To: Daniel Baluta , Joel Becker Cc: Linux Kernel Mailing List , Lars-Peter Clausen , Greg Kroah-Hartman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1433 Lines: 44 On Wed, Mar 18, 2015 at 9:56 PM, Daniel Baluta wrote: > 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); > -- 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/