fs: remove compat_sys_mount

compat_sys_mount is identical to the regular sys_mount now, so remove it
and use the native version everywhere.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Christoph Hellwig
2020-09-17 10:22:34 +02:00
committed by Al Viro
parent 67e306c690
commit 028abd9222
17 changed files with 14 additions and 81 deletions

View File

@@ -3072,7 +3072,7 @@ static void shrink_submounts(struct mount *mnt)
}
}
void *copy_mount_options(const void __user * data)
static void *copy_mount_options(const void __user * data)
{
char *copy;
unsigned size;
@@ -3097,7 +3097,7 @@ void *copy_mount_options(const void __user * data)
return copy;
}
char *copy_mount_string(const void __user *data)
static char *copy_mount_string(const void __user *data)
{
return data ? strndup_user(data, PATH_MAX) : NULL;
}