From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752511AbcISU4G (ORCPT ); Mon, 19 Sep 2016 16:56:06 -0400 Received: from mail1.windriver.com ([147.11.146.13]:45025 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbcISU4F (ORCPT ); Mon, 19 Sep 2016 16:56:05 -0400 From: Paul Gortmaker To: CC: Paul Gortmaker , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , Subject: [PATCH 1/2] 9p: coalesce all the MODULE_ALIAS operations into one place. Date: Mon, 19 Sep 2016 16:55:37 -0400 Message-ID: <20160919205538.29937-1-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently there are MODULE_* tags in the v9fs.c where the module_init and module_exit etc. live, plus in the supporting file vfs_super.c which isn't otherwise doing anything modular. Put them all in the same file that is responsible for the modular operations for consistency, paving the way for removal of module.h from the non-modular supporting file at the same time. Cc: Eric Van Hensbergen Cc: Ron Minnich Cc: Latchesar Ionkov Cc: v9fs-developer@lists.sourceforge.net Signed-off-by: Paul Gortmaker --- fs/9p/v9fs.c | 1 + fs/9p/vfs_super.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c index 072e7599583a..814d85d7a75e 100644 --- a/fs/9p/v9fs.c +++ b/fs/9p/v9fs.c @@ -676,4 +676,5 @@ module_exit(exit_v9fs) MODULE_AUTHOR("Latchesar Ionkov "); MODULE_AUTHOR("Eric Van Hensbergen "); MODULE_AUTHOR("Ron Minnich "); +MODULE_ALIAS_FS("9p"); MODULE_LICENSE("GPL"); diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index de3ed8629196..94dc50527a7b 100644 --- a/fs/9p/vfs_super.c +++ b/fs/9p/vfs_super.c @@ -363,4 +363,3 @@ struct file_system_type v9fs_fs_type = { .owner = THIS_MODULE, .fs_flags = FS_RENAME_DOES_D_MOVE, }; -MODULE_ALIAS_FS("9p"); -- 2.8.4