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:

committed by
Al Viro

parent
67e306c690
commit
028abd9222
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user