Skip to content

Commit

Permalink
fs/9p/v9fs.c: add __init to v9fs_sysfs_init
Browse files Browse the repository at this point in the history
v9fs_sysfs_init is only called by __init init_v9fs

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Fabian Frederick authored and Linus Torvalds committed Jun 4, 2014
1 parent e72db98 commit bdbeacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/9p/v9fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
if (!v9fs_kobj)
Expand Down

0 comments on commit bdbeacd

Please sign in to comment.