summaryrefslogtreecommitdiffstats
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2009-04-09 13:17:52 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-04-21 05:02:52 +0200
commit38e23c95f92a84fb8505a9f572b8a209c9c372c1 (patch)
tree3caa1061a8c6a831935ce3fa7209cc2db1ea3e0d /fs/filesystems.c
parentkill vfs_stat_fd / vfs_lstat_fd (diff)
downloadlinux-38e23c95f92a84fb8505a9f572b8a209c9c372c1.tar.xz
linux-38e23c95f92a84fb8505a9f572b8a209c9c372c1.zip
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/filesystems.c')
-rw-r--r--fs/filesystems.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/filesystems.c b/fs/filesystems.c
index 1aa70260e6d1..a24c58e181db 100644
--- a/fs/filesystems.c
+++ b/fs/filesystems.c
@@ -199,7 +199,7 @@ SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2)
return retval;
}
-int get_filesystem_list(char * buf)
+int __init get_filesystem_list(char *buf)
{
int len = 0;
struct file_system_type * tmp;