From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Eric Van Hensbergen <ericvh@gmail.com>,
Ron Minnich <rminnich@sandia.gov>,
Latchesar Ionkov <lucho@ionkov.net>,
<v9fs-developer@lists.sourceforge.net>
Subject: [PATCH 1/2] 9p: coalesce all the MODULE_ALIAS operations into one place.
Date: Mon, 19 Sep 2016 16:55:37 -0400 [thread overview]
Message-ID: <20160919205538.29937-1-paul.gortmaker@windriver.com> (raw)
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 <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: v9fs-developer@lists.sourceforge.net
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
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 <lucho@ionkov.net>");
MODULE_AUTHOR("Eric Van Hensbergen <ericvh@gmail.com>");
MODULE_AUTHOR("Ron Minnich <rminnich@lanl.gov>");
+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
next reply other threads:[~2016-09-19 20:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 20:55 Paul Gortmaker [this message]
2016-09-19 20:55 ` [PATCH 2/2] 9p: audit and remove any unnecessary uses of module.h Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160919205538.29937-1-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=ericvh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lucho@ionkov.net \
--cc=rminnich@sandia.gov \
--cc=v9fs-developer@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome