Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966889AbbDXJpP (ORCPT ); Fri, 24 Apr 2015 05:45:15 -0400 Received: from mga02.intel.com ([134.134.136.20]:33526 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966783AbbDXJpL (ORCPT ); Fri, 24 Apr 2015 05:45:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,638,1422950400"; d="scan'208";a="485074435" From: Daniel Baluta To: akpm@linux-foundation.org Cc: viro@zeniv.linux.org.uk, hch@lst.de, jlbec@evilplan.org, linux-fsdevel@vger.kernel.org, lars@metafoo.de, linux-kernel@vger.kernel.org, daniel.baluta@intel.com Subject: [RESEND PATCH] configfs: init configfs module earlier at boot time Date: Fri, 24 Apr 2015 12:46:55 +0300 Message-Id: <1429868815-2114-1-git-send-email-daniel.baluta@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1134 Lines: 34 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 Reviewed-by: Christoph Hellwig --- * third resend, adding Andrew 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.9.1 -- 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/