Commit bdbeacde authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/9p/v9fs.c: add __init to v9fs_sysfs_init

v9fs_sysfs_init is only called by __init init_v9fs
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e72db989
...@@ -537,7 +537,7 @@ static struct attribute_group v9fs_attr_group = { ...@@ -537,7 +537,7 @@ static struct attribute_group v9fs_attr_group = {
* *
*/ */
static int v9fs_sysfs_init(void) static int __init v9fs_sysfs_init(void)
{ {
v9fs_kobj = kobject_create_and_add("9p", fs_kobj); v9fs_kobj = kobject_create_and_add("9p", fs_kobj);
if (!v9fs_kobj) if (!v9fs_kobj)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment