diff options
Diffstat (limited to 'fs/filesystems.c')
-rw-r--r-- | fs/filesystems.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/filesystems.c b/fs/filesystems.c index 92567d95ba6a..5797d45a78cb 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c | |||
@@ -121,6 +121,7 @@ int unregister_filesystem(struct file_system_type * fs) | |||
121 | 121 | ||
122 | EXPORT_SYMBOL(unregister_filesystem); | 122 | EXPORT_SYMBOL(unregister_filesystem); |
123 | 123 | ||
124 | #ifdef CONFIG_SYSFS_SYSCALL | ||
124 | static int fs_index(const char __user * __name) | 125 | static int fs_index(const char __user * __name) |
125 | { | 126 | { |
126 | struct file_system_type * tmp; | 127 | struct file_system_type * tmp; |
@@ -199,6 +200,7 @@ SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2) | |||
199 | } | 200 | } |
200 | return retval; | 201 | return retval; |
201 | } | 202 | } |
203 | #endif | ||
202 | 204 | ||
203 | int __init get_filesystem_list(char *buf) | 205 | int __init get_filesystem_list(char *buf) |
204 | { | 206 | { |