diff options
Diffstat (limited to 'fs/filesystems.c')
| -rw-r--r-- | fs/filesystems.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/filesystems.c b/fs/filesystems.c index c4b467fb67dd..9593c8206a53 100644 --- a/fs/filesystems.c +++ b/fs/filesystems.c @@ -174,7 +174,7 @@ void __init fs_subsys_init(void) register_fs_subsys(*p); } -static int fs_index(const char * __name) +static int fs_index(const char __user * __name) { struct file_system_type * tmp; char * name; @@ -198,7 +198,7 @@ static int fs_index(const char * __name) return err; } -static int fs_name(unsigned int index, char * buf) +static int fs_name(unsigned int index, char __user * buf) { struct file_system_type * tmp; int len, res; @@ -239,11 +239,11 @@ asmlinkage long sys_sysfs(int option, unsigned long arg1, unsigned long arg2) switch (option) { case 1: - retval = fs_index((const char *) arg1); + retval = fs_index((const char __user *) arg1); break; case 2: - retval = fs_name(arg1, (char *) arg2); + retval = fs_name(arg1, (char __user *) arg2); break; case 3: |
