Commit 38e23c95 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Al Viro

fs: Mark get_filesystem_list() as __init function.

"int get_filesystem_list(char * buf)" is called by only
"static void __init get_fs_names(char *page)".
We can mark get_filesystem_list() as "__init".
Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2eae7a18
...@@ -199,7 +199,7 @@ SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2) ...@@ -199,7 +199,7 @@ SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2)
return retval; return retval;
} }
int get_filesystem_list(char * buf) int __init get_filesystem_list(char *buf)
{ {
int len = 0; int len = 0;
struct file_system_type * tmp; struct file_system_type * tmp;
......
...@@ -2448,7 +2448,7 @@ struct ctl_table; ...@@ -2448,7 +2448,7 @@ struct ctl_table;
int proc_nr_files(struct ctl_table *table, int write, struct file *filp, int proc_nr_files(struct ctl_table *table, int write, struct file *filp,
void __user *buffer, size_t *lenp, loff_t *ppos); void __user *buffer, size_t *lenp, loff_t *ppos);
int get_filesystem_list(char * buf); int __init get_filesystem_list(char *buf);
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _LINUX_FS_H */ #endif /* _LINUX_FS_H */
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